mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
f3282c8d1e
* treewide: remove unused variables * making ofborg happy
34 lines
557 B
Nix
34 lines
557 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, six
|
|
, attrs
|
|
, pytest
|
|
, testtools
|
|
}:
|
|
buildPythonPackage rec {
|
|
version = "0.12.0";
|
|
pname = "effect";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0s8zsncq4l0ar2b4dijf8yzrk13x2swr1w2nb30s1p5jd6r24czl";
|
|
};
|
|
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;
|
|
};
|
|
}
|