nixpkgs/pkgs/development/python-modules/pytricia/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

25 lines
594 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 ];
};
}