depot/third_party/nixpkgs/pkgs/development/python-modules/dparse/default.nix
Default email 7bc014aa9c Project import generated by Copybara.
GitOrigin-RevId: c97e777ff06fcb8d37dcdf5e21e9eff1f34f0e90
2022-09-11 12:47:08 -03:00

42 lines
732 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, toml
, pyyaml
, packaging
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "dparse";
version = "0.6.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-VwaLthhZsWdsa+sQ85mQbuy0GnW10/vJnQMRBZy2chM=";
};
propagatedBuildInputs = [
toml
pyyaml
packaging
];
checkInputs = [
pytestCheckHook
];
disabledTests = [
# requires unpackaged dependency pipenv
"test_update_pipfile"
];
meta = with lib; {
description = "A parser for Python dependency files";
homepage = "https://github.com/pyupio/dparse";
license = licenses.mit;
maintainers = with maintainers; [ thomasdesr ];
};
}