1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/effect/default.nix

34 lines
568 B
Nix
Raw Normal View History

2018-04-20 10:25:58 +01:00
{ buildPythonPackage
, fetchPypi
, lib
, six
2018-04-20 10:32:29 +01:00
, attrs
, pytest
, testtools
2018-04-20 10:25:58 +01:00
}:
2018-04-20 10:32:29 +01:00
buildPythonPackage rec {
2019-12-19 19:31:10 +00:00
version = "1.1.0";
2018-04-20 10:32:29 +01:00
pname = "effect";
2018-04-20 10:25:58 +01:00
src = fetchPypi {
inherit pname version;
2019-12-19 19:31:10 +00:00
sha256 = "7affb603707c648b07b11781ebb793a4b9aee8acf1ac5764c3ed2112adf0c9ea";
2018-04-20 10:25:58 +01:00
};
2018-04-20 10:32:29 +01:00
checkInputs = [
pytest
testtools
];
2018-04-20 10:25:58 +01:00
propagatedBuildInputs = [
six
attrs
];
2018-04-20 10:32:29 +01:00
checkPhase = ''
pytest
2018-04-20 10:32:29 +01:00
'';
2018-04-20 10:25:58 +01:00
meta = with lib; {
2018-04-20 10:32:29 +01:00
description = "Pure effects for Python";
2018-04-20 10:25:58 +01:00
homepage = https://github.com/python-effect/effect;
license = licenses.mit;
};
}