mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
25 lines
485 B
Nix
25 lines
485 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 = "In-memory LRU cache for python";
|
|
homepage = "https://github.com/stucchio/Python-LRU-cache";
|
|
license = licenses.gpl3;
|
|
maintainers = [ ];
|
|
};
|
|
}
|