nixpkgs/pkgs/development/python-modules/variants/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
690 B
Nix
Raw Normal View History

2020-03-24 04:11:58 +00:00
{ buildPythonPackage
2020-04-09 19:21:00 +01:00
, isPy27
2020-03-24 04:11:58 +00:00
, fetchPypi
, pytest-runner
, setuptools-scm
, pytestCheckHook
, six
2020-03-24 04:11:58 +00:00
, lib
}:
2020-04-09 19:21:00 +01:00
2020-03-24 04:11:58 +00:00
buildPythonPackage rec {
pname = "variants";
version = "0.2.0";
src = fetchPypi {
inherit pname version ;
sha256 = "511f75b4cf7483c27e4d86d9accf2b5317267900c166d17636beeed118929b90";
};
nativeBuildInputs = [
setuptools-scm
2020-03-24 04:11:58 +00:00
];
checkInputs = [
pytestCheckHook
six
];
2020-04-09 19:21:00 +01:00
2020-03-24 04:11:58 +00:00
meta = with lib; {
description = "Library providing syntactic sugar for creating variant forms of a canonical function";
homepage = "https://github.com/python-variants/variants";
license = licenses.asl20;
maintainers = with maintainers; [ rakesh4g ];
};
2020-04-09 19:21:00 +01:00
}