mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-21 01:34:34 +05:30
I tried and failed at building impressive
This commit is contained in:
parent
cdc2441721
commit
ad75dfa1df
45
user/pkgs/impressive.nix
Normal file
45
user/pkgs/impressive.nix
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
# THIS DOES NOT WORK YET!
|
||||||
|
{ lib, stdenv, buildPythonPackage, pkgs, ... }:
|
||||||
|
|
||||||
|
let name = "Impressive";
|
||||||
|
_name = "impressive";
|
||||||
|
version = "0.13.2";
|
||||||
|
in
|
||||||
|
buildPythonPackage rec {
|
||||||
|
inherit name version;
|
||||||
|
|
||||||
|
src = fetchTarball {
|
||||||
|
url = "https://sourceforge.net/projects/${_name}/files/${name}/${version}/${name}-${version}.tar.gz/download";
|
||||||
|
sha256 = "sha256:0zbkqc29mgm93mysf3y5gvkaj4xxp1jv4ix1fqrcpfx3cricrkql";
|
||||||
|
};
|
||||||
|
|
||||||
|
phases = "installPhase";
|
||||||
|
|
||||||
|
pyproject = false;
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
propagatedBuildInputs = with pkgs; [
|
||||||
|
python3Packages.pygame
|
||||||
|
python3Packages.pyopengl
|
||||||
|
python3Packages.pillow
|
||||||
|
python3Packages.pygame_sdl2
|
||||||
|
python3Packages.pygame-gui
|
||||||
|
ffmpeg
|
||||||
|
mplayer
|
||||||
|
xdg-utils
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out $out/bin $out/opt $out/share $out/share/doc $out/share/man
|
||||||
|
cp $src/impressive.py $out/opt
|
||||||
|
chmod +x $out/opt/impressive.py
|
||||||
|
ln -s $out/opt/impressive.py $out/bin/impressive
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://impressive.sourceforge.net/";
|
||||||
|
description = "the Chuck Norris of presentation software";
|
||||||
|
license = lib.licenses.gpl2Only;
|
||||||
|
maintainers = [];
|
||||||
|
};
|
||||||
|
}
|
|
@ -23,6 +23,7 @@
|
||||||
pciutils
|
pciutils
|
||||||
#(pkgs.callPackage ../pkgs/ytsub.nix { })
|
#(pkgs.callPackage ../pkgs/ytsub.nix { })
|
||||||
#(pkgs.callPackage ../pkgs/russ.nix { })
|
#(pkgs.callPackage ../pkgs/russ.nix { })
|
||||||
|
#(pkgs.python3Packages.callPackage ../pkgs/impressive.nix { })
|
||||||
(pkgs.callPackage ../pkgs/pokemon-colorscripts.nix { })
|
(pkgs.callPackage ../pkgs/pokemon-colorscripts.nix { })
|
||||||
(pkgs.writeShellScriptBin "airplane-mode" ''
|
(pkgs.writeShellScriptBin "airplane-mode" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
Loading…
Reference in a new issue