blob: bd8f044b57f605ad010dcbde2bc546fea1ccb6e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools-scm,
six,
}:
buildPythonPackage rec {
pname = "variants";
version = "0.2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-UR91tM90g8J+TYbZrM8rUxcmeQDBZtF2Nr7u0RiSm5A=";
};
nativeBuildInputs = [ setuptools-scm ];
nativeCheckInputs = [
pytestCheckHook
six
];
pythonImportsCheck = [ "variants" ];
meta = {
description = "Library providing syntactic sugar for creating variant forms of a canonical function";
homepage = "https://github.com/python-variants/variants";
changelog = "https://github.com/python-variants/variants/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ rakesh4g ];
};
}
|