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/'
36 lines
764 B
Nix
36 lines
764 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
|
|
# build-system
|
|
flit-core,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "stdlib-list";
|
|
version = "0.10.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
pname = "stdlib_list";
|
|
inherit version;
|
|
hash = "sha256-ZRnFDWRVE+0odle/6FbVJ/J3MxVAaR3er3eyVFmWShQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ flit-core ];
|
|
|
|
pythonImportsCheck = [ "stdlib_list" ];
|
|
|
|
# tests see mismatches to our standard library
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/pypi/stdlib-list/releases/tag/v${version}";
|
|
description = "List of Python Standard Libraries";
|
|
homepage = "https://github.com/jackmaney/python-stdlib-list";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|