about summary refs log tree commit diff
path: root/pkgs/development/python-modules/dparse/default.nix
blob: 6433e0d17a727c403b4e04d034c8fabe6a936a43 (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
{ lib, buildPythonPackage, fetchPypi, isPy27, pytest, toml, pyyaml }:

buildPythonPackage rec {
  pname = "dparse";
  version = "0.5.1";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "a1b5f169102e1c894f9a7d5ccf6f9402a836a5d24be80a986c7ce9eaed78f367";
  };

  propagatedBuildInputs = [ toml pyyaml ];

  checkInputs = [ pytest ];

  meta = with lib; {
    description = "A parser for Python dependency files";
    homepage = "https://github.com/pyupio/safety";
    license = licenses.mit;
    maintainers = with maintainers; [ thomasdesr ];
  };
}