default.nix (625B)
1 { lib, python3Packages, fetchFromGitHub }: 2 3 python3Packages.buildPythonPackage rec { 4 pname = "pipfile"; 5 version = "0.0.2"; 6 7 src = fetchFromGitHub { 8 owner = "pypa"; 9 repo = "pipfile"; 10 rev = "v${version}"; 11 hash = "sha256-GsDhxnvBvjJGQWk25cS9+HqLQ9YVSxujeX2iGivYl6Q="; 12 }; 13 14 propagatedBuildInputs = with python3Packages; [ toml ]; 15 16 doCheck = false; 17 pythonImportsCheck = [ "pipfile" ]; 18 19 meta = with lib; { 20 description = "Pipfile: the replacement for requirements.txt"; 21 inherit (src.meta) homepage; 22 license = with licenses; [ asl20 bsd2 ]; 23 maintainers = [ maintainers.sikmir ]; 24 }; 25 }