From 1d46027c3d1444644039287c18d8abdcae26e982 Mon Sep 17 00:00:00 2001 From: Christopher Ostrouchov Date: Wed, 8 Aug 2018 18:31:51 -0400 Subject: [PATCH] pythonPackages.pysrim: init at 0.5.8 (#44756) - compatible with 2.7, 3+ - tests are not run due to requiring git lfs download of repository --- .../python-modules/pysrim/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/pysrim/default.nix diff --git a/pkgs/development/python-modules/pysrim/default.nix b/pkgs/development/python-modules/pysrim/default.nix new file mode 100644 index 000000000000..90dfc1f56045 --- /dev/null +++ b/pkgs/development/python-modules/pysrim/default.nix @@ -0,0 +1,30 @@ +{ lib +, fetchPypi +, buildPythonPackage +, pytestrunner +, numpy +, pyyaml +}: + +buildPythonPackage rec { + pname = "pysrim"; + version = "0.5.8"; + + src = fetchPypi { + inherit pname version; + sha256 = "6c297b4ea6f037946c72e94ddd9a7624cf2fd97c488acbee9409001c970754f1"; + }; + + buildInputs = [ pytestrunner ]; + propagatedBuildInputs = [ numpy pyyaml ]; + + # Tests require git lfs download of repository + doCheck = false; + + meta = { + description = "Srim Automation of Tasks via Python"; + homepage = https://gitlab.com/costrouc/pysrim; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0130ba128922..6fc3a140eb81 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4103,6 +4103,8 @@ in { pyspf = callPackage ../development/python-modules/pyspf { }; + pysrim = callPackage ../development/python-modules/pysrim { }; + pysrt = callPackage ../development/python-modules/pysrt { }; pytools = callPackage ../development/python-modules/pytools { };