about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/debian/default.nix
blob: 48b5b015b11ae471e67f0f9f07af24b669c74ea4 (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
24
25
26
27
28
29
{ lib
, buildPythonPackage
, fetchPypi
, chardet
, six
}:

buildPythonPackage rec {
  pname = "python-debian";
  version = "0.1.40";

  src = fetchPypi {
    inherit pname version;
    sha256 = "385dfb965eca75164d256486c7cf9bae772d24144249fd18b9d15d3cffb70eea";
  };

  propagatedBuildInputs = [ chardet six ];

  # No tests in archive
  doCheck = false;

  pythonImportsCheck = [ "debian" ];

  meta = with lib; {
    description = "Debian package related modules";
    license = licenses.gpl2;
    maintainers = with maintainers; [ ];
  };
}