From 0515775745c594be8bfe2ca78cda0fb86a5d67cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Tue, 14 Apr 2020 03:33:26 +0200 Subject: [PATCH] Add vsci --- default.nix | 3 +++ pkgs/vcsi/default.nix | 28 ++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/vcsi/default.nix 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 ]; + +} +