Files
nixpkgs/pkgs/development/python-modules/py-lru-cache/default.nix
T
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
484 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "py-lru-cache";
version = "0.1.4";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "py_lru_cache";
sha256 = "1w3a8l3ckl1zz0f2vlfrawl9a402r458p7xzhy4sgq8k9rl37pq2";
};
meta = with lib; {
description = "An in-memory LRU cache for python";
homepage = "https://github.com/stucchio/Python-LRU-cache";
license = licenses.gpl3;
maintainers = [ ];
};
}