Loading pkgs/development/python-modules/pytricia/default.nix +18 −12 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, fetchPypi, setuptools, }: buildPythonPackage { buildPythonPackage rec { pname = "pytricia"; version = "unstable-2019-01-16"; format = "setuptools"; version = "1.3.0"; pyproject = true; src = fetchFromGitHub { owner = "jsommers"; repo = "pytricia"; rev = "4ba88f68c3125f789ca8cd1cfae156e1464bde87"; sha256 = "0qp5774xkm700g35k5c76pck8pdzqlyzbaqgrz76a1yh67s2ri8h"; # no tags on git repo src = fetchPypi { inherit pname version; hash = "sha256-HDo9aQnhDUycLw/kVCokgeEJ0pqrmcwCfKf+k/jIhT8="; }; meta = with lib; { build-system = [ setuptools ]; pythonImportsCheck = [ "pytricia" ]; doCheck = false; # no tests meta = { description = "Library for fast IP address lookup in Python"; homepage = "https://github.com/jsommers/pytricia"; license = with licenses; [ lgpl3Plus ]; maintainers = with maintainers; [ mkg ]; license = with lib.licenses; [ lgpl3Plus ]; maintainers = with lib.maintainers; [ mkg ]; }; } Loading
pkgs/development/python-modules/pytricia/default.nix +18 −12 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, fetchPypi, setuptools, }: buildPythonPackage { buildPythonPackage rec { pname = "pytricia"; version = "unstable-2019-01-16"; format = "setuptools"; version = "1.3.0"; pyproject = true; src = fetchFromGitHub { owner = "jsommers"; repo = "pytricia"; rev = "4ba88f68c3125f789ca8cd1cfae156e1464bde87"; sha256 = "0qp5774xkm700g35k5c76pck8pdzqlyzbaqgrz76a1yh67s2ri8h"; # no tags on git repo src = fetchPypi { inherit pname version; hash = "sha256-HDo9aQnhDUycLw/kVCokgeEJ0pqrmcwCfKf+k/jIhT8="; }; meta = with lib; { build-system = [ setuptools ]; pythonImportsCheck = [ "pytricia" ]; doCheck = false; # no tests meta = { description = "Library for fast IP address lookup in Python"; homepage = "https://github.com/jsommers/pytricia"; license = with licenses; [ lgpl3Plus ]; maintainers = with maintainers; [ mkg ]; license = with lib.licenses; [ lgpl3Plus ]; maintainers = with lib.maintainers; [ mkg ]; }; }