about summary refs log tree commit diff
path: root/pkgs/development/python-modules/headerparser
diff options
context:
space:
mode:
authorayazhafiz <ayaz.hafiz.1@gmail.com>2021-10-31 21:44:39 -0400
committerayazhafiz <ayaz.hafiz.1@gmail.com>2021-11-01 18:58:23 -0400
commit97452c285cb2b36455ca37dd101cc33d12f24b4e (patch)
tree04b7b065eb6546a1a77da46fe08a4bdbf475b2b8 /pkgs/development/python-modules/headerparser
parentf5014e47feea55c2b15af3570c5e9df54e3c8263 (diff)
headerparser: init at 0.4.0
Diffstat (limited to 'pkgs/development/python-modules/headerparser')
-rw-r--r--pkgs/development/python-modules/headerparser/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/headerparser/default.nix b/pkgs/development/python-modules/headerparser/default.nix
new file mode 100644
index 0000000000000..8e7ddbb0c2c9b
--- /dev/null
+++ b/pkgs/development/python-modules/headerparser/default.nix
@@ -0,0 +1,27 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, entry-points-txt
+, 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 ];
+  };
+}