2018-08-08 23:31:51 +01:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, pytestrunner
|
|
|
|
, numpy
|
|
|
|
, pyyaml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pysrim";
|
2018-10-06 11:56:19 +01:00
|
|
|
version = "0.5.9";
|
2018-08-08 23:31:51 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-06 11:56:19 +01:00
|
|
|
sha256 = "071c5be48e58fa019f7848588f88ce0a09bfe6493c9ff5987829d162c0f4a497";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|