summary refs log tree commit diff
path: root/pkgs/development/python-modules/variants/default.nix
blob: af2224e3536e525bca6318358d45b915f5dc9e56 (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
{ buildPythonPackage
, fetchPypi
, pytestrunner
, setuptools_scm
, pytest
, lib
}:
buildPythonPackage rec {
  pname = "variants";
  version = "0.2.0";

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

  nativeBuildInputs = [
    pytestrunner
    setuptools_scm
  ];

  checkInputs = [
    pytest
  ];
  
  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 ];
  };
}