about summary refs log tree commit diff
path: root/pkgs/development/python-modules/variants/default.nix
blob: e23407ab06b366070d41c43c41a0573dc0ff88c8 (plain) (blame)
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
{ buildPythonPackage
, isPy27
, fetchPypi
, pytest-runner
, setuptools-scm
, pytestCheckHook
, lib
}:

buildPythonPackage rec {
  pname = "variants";
  version = "0.2.0";

  src = fetchPypi {
    inherit pname version ;
    sha256 = "511f75b4cf7483c27e4d86d9accf2b5317267900c166d17636beeed118929b90";
  };

  nativeBuildInputs = [
    pytest-runner
    setuptools-scm
  ];

  checkInputs = [
    pytestCheckHook
  ];

  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 ];
  };
}