2018-08-08 23:31:51 +01:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, pytestrunner
|
|
|
|
, numpy
|
|
|
|
, pyyaml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pysrim";
|
2018-11-11 13:47:26 +00:00
|
|
|
version = "0.5.10";
|
2018-08-08 23:31:51 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-11 13:47:26 +00:00
|
|
|
sha256 = "ada088f73f7e1a3bf085206e81e0f83ed89c1d0b23a789ecd0ba0a250724aee8";
|
2018-08-08 23:31:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|