aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytricia/default.nix
diff options
context:
space:
mode:
authorMark Gardner <mkg@vt.edu>2019-05-14 10:13:14 -0400
committerMario Rodas <marsam@users.noreply.github.com>2019-05-18 22:11:39 -0500
commit8102e2ce3bc60e9addd8ad5a2ea33211e30f60c5 (patch)
tree5442d934e058b9f38635072c3df071795141f5b3 /pkgs/development/python-modules/pytricia/default.nix
parentfaf5e8ad8cf2a4b4a09f86b1a6474f1c32479af9 (diff)
pytricia: init at version 2019-01-16
Diffstat (limited to 'pkgs/development/python-modules/pytricia/default.nix')
-rw-r--r--pkgs/development/python-modules/pytricia/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytricia/default.nix b/pkgs/development/python-modules/pytricia/default.nix
new file mode 100644
index 00000000000..2f95d7fcecb
--- /dev/null
+++ b/pkgs/development/python-modules/pytricia/default.nix
@@ -0,0 +1,23 @@
+{ stdenv
+, buildPythonPackage
+, fetchFromGitHub
+}:
+
+buildPythonPackage rec {
+ pname = "pytricia";
+ version = "unstable-2019-01-16";
+
+ src = fetchFromGitHub {
+ owner = "jsommers";
+ repo = pname;
+ rev = "4ba88f68c3125f789ca8cd1cfae156e1464bde87";
+ sha256 = "0qp5774xkm700g35k5c76pck8pdzqlyzbaqgrz76a1yh67s2ri8h";
+ };
+
+ meta = with stdenv.lib; {
+ description = "A library for fast IP address lookup in Python";
+ homepage = https://github.com/jsommers/pytricia;
+ license = with licenses; [ lgpl3Plus ];
+ maintainers = with maintainers; [ mkg ];
+ };
+}