Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 583 B view raw
1{ lib, buildPythonPackage, fetchPypi, isPy27, pytest, toml, pyyaml }: 2 3buildPythonPackage rec { 4 pname = "dparse"; 5 version = "0.5.1"; 6 disabled = isPy27; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "a1b5f169102e1c894f9a7d5ccf6f9402a836a5d24be80a986c7ce9eaed78f367"; 11 }; 12 13 propagatedBuildInputs = [ toml pyyaml ]; 14 15 checkInputs = [ pytest ]; 16 17 meta = with lib; { 18 description = "A parser for Python dependency files"; 19 homepage = "https://github.com/pyupio/safety"; 20 license = licenses.mit; 21 maintainers = with maintainers; [ thomasdesr ]; 22 }; 23}