1{ lib
2, buildPythonPackage
3, fetchPypi
4, six
5}:
6
7buildPythonPackage rec {
8 pname = "headerparser";
9 version = "0.4.0";
10
11 src = fetchPypi{
12 inherit pname;
13 inherit version;
14 sha256 = "b8ceae4c5e6133fda666d022684e93f9b3d45815c2c7881018123c71ff28c5cc";
15 };
16
17 buildInputs = [
18 six
19 ];
20
21 meta = with lib; {
22 homepage = "https://github.com/jwodder/headerparser";
23 description = "argparse for mail-style headers";
24 license = with licenses; [ mit ];
25 maintainers = with lib.maintainers; [ ayazhafiz ];
26 };
27}