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/'
32 lines
636 B
Nix
32 lines
636 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "frozenlist2";
|
|
version = "1.0.0";
|
|
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rohanpm";
|
|
repo = "frozenlist2";
|
|
rev = "v${version}";
|
|
hash = "sha256-fF0oFZ2q1wRH7IKBlCjm3Za4xtEMSHyEaGL09rHgtTY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "frozenlist2" ];
|
|
|
|
meta = with lib; {
|
|
description = "Immutable list for Python";
|
|
homepage = "https://github.com/rohanpm/frozenlist2";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ t4ccer ];
|
|
};
|
|
}
|