depot/third_party/nixpkgs/pkgs/development/python-modules/pytricia/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

25 lines
599 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "pytricia";
version = "unstable-2019-01-16";
format = "setuptools";
src = fetchFromGitHub {
owner = "jsommers";
repo = pname;
rev = "4ba88f68c3125f789ca8cd1cfae156e1464bde87";
sha256 = "0qp5774xkm700g35k5c76pck8pdzqlyzbaqgrz76a1yh67s2ri8h";
};
meta = with 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 ];
};
}