summary refs log tree commit diff
path: root/pkgs/development/python-modules/headerparser/default.nix
blob: b1a38170162b75fb0b6c65c63afcaea4bf144952 (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
{ lib
, buildPythonPackage
, fetchPypi
, six
}:

buildPythonPackage rec {
  pname = "headerparser";
  version = "0.4.0";

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

  buildInputs = [
    six
  ];

  meta = with lib; {
    homepage = "https://github.com/jwodder/headerparser";
    description = "argparse for mail-style headers";
    license = with licenses; [ mit ];
    maintainers = with lib.maintainers; [ ayazhafiz ];
  };
}