1{ buildPythonPackage 2, isPy27 3, fetchPypi 4, pytest-runner 5, setuptools-scm 6, pytestCheckHook 7, six 8, lib 9}: 10 11buildPythonPackage rec { 12 pname = "variants"; 13 version = "0.2.0"; 14 15 src = fetchPypi { 16 inherit pname version ; 17 sha256 = "511f75b4cf7483c27e4d86d9accf2b5317267900c166d17636beeed118929b90"; 18 }; 19 20 nativeBuildInputs = [ 21 setuptools-scm 22 ]; 23 24 checkInputs = [ 25 pytestCheckHook 26 six 27 ]; 28 29 meta = with lib; { 30 description = "Library providing syntactic sugar for creating variant forms of a canonical function"; 31 homepage = "https://github.com/python-variants/variants"; 32 license = licenses.asl20; 33 maintainers = with maintainers; [ rakesh4g ]; 34 }; 35}