mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
34 lines
559 B
Nix
34 lines
559 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, six
|
|
, attrs
|
|
, pytest
|
|
, testtools
|
|
}:
|
|
buildPythonPackage rec {
|
|
version = "0.11.0";
|
|
pname = "effect";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1q75w4magkqd8ggabhhzzxmxakpdnn0vdg7ygj89zdc9yl7561q6";
|
|
};
|
|
checkInputs = [
|
|
pytest
|
|
testtools
|
|
];
|
|
propagatedBuildInputs = [
|
|
six
|
|
attrs
|
|
];
|
|
checkPhase = ''
|
|
pytest .
|
|
'';
|
|
meta = with lib; {
|
|
description = "Pure effects for Python";
|
|
homepage = https://github.com/python-effect/effect;
|
|
license = licenses.mit;
|
|
};
|
|
}
|