diff --git a/default.nix b/default.nix index 2c5171b..d811d3c 100644 --- a/default.nix +++ b/default.nix @@ -19,6 +19,7 @@ rank_photos = pkgs.callPackage ./pkgs/rank_photos { }; JAVMovieScraper = pkgs.callPackage ./pkgs/JAVMovieScraper { }; + vcsi = pkgs.callPackage ./pkgs/vcsi {}; janus = pkgs.libsForQt5.callPackage ./pkgs/JanusVR/client { }; @@ -29,5 +30,7 @@ botamusique = pkgs.callPackage ./pkgs/botamusique {}; + + } diff --git a/pkgs/vcsi/default.nix b/pkgs/vcsi/default.nix new file mode 100644 index 0000000..888ef52 --- /dev/null +++ b/pkgs/vcsi/default.nix @@ -0,0 +1,28 @@ +{ stdenv, lib, fetchFromGitHub, python3Packages, python3, ffmpeg }: + +let + version = "7"; +in + +python3Packages.buildPythonApplication { + pname = "vcsi"; + inherit version; + + src = fetchFromGitHub { + owner = "amietn"; + repo = "vcsi"; + rev = "v${version}"; + sha256 = "1vcinspxic6307cd1miapwyda095j0zyffmdv0whyjz7drh9hkrk"; + }; + + propagatedBuildInputs = with python3Packages; [ + numpy + pillow + jinja2 + texttable + parsedatetime + nose + ] ++ [ ffmpeg ]; + +} +