$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
36 lines
746 B
Nix
36 lines
746 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 = [ ];
|
|
};
|
|
}
|