2018-10-26 15:57:03 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, pytest
|
|
|
|
, hypothesis
|
2019-01-08 05:02:12 +00:00
|
|
|
, pytestrunner
|
2018-10-26 15:57:03 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyrsistent";
|
2019-02-23 14:36:01 +00:00
|
|
|
version = "0.14.11";
|
2018-10-26 15:57:03 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-23 14:36:01 +00:00
|
|
|
sha256 = "3ca82748918eb65e2d89f222b702277099aca77e34843c5eb9d52451173970e2";
|
2018-10-26 15:57:03 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
2019-01-08 05:02:12 +00:00
|
|
|
checkInputs = [ pytestrunner pytest hypothesis ];
|
|
|
|
|
2018-10-26 15:57:03 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/tobgu/pyrsistent/;
|
|
|
|
description = "Persistent/Functional/Immutable data structures";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|