about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/debut/default.nix
blob: 02eece2fc242a9dab46f36d29c2b23477455f7df (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
30
31
32
33
34
35
36
37
38
{ lib
, buildPythonPackage
, fetchPypi
, chardet
, attrs
, pytestCheckHook
}:
buildPythonPackage rec {
  pname = "debut";
  version = "0.9.9";

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

  dontConfigure = true;

  propagatedBuildInputs = [
    chardet
    attrs
  ];

  checkInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "debut"
  ];

  meta = with lib; {
    description = "Python library to parse Debian deb822-style control and copyright files ";
    homepage = "https://github.com/nexB/debut";
    license = with licenses; [ asl20 bsd3 mit ];
    maintainers = teams.determinatesystems.members;
  };
}