nixpkgs/pkgs/development/python-modules/stdlib-list/default.nix

39 lines
770 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 = "A list of Python Standard Libraries";
homepage = "https://github.com/jackmaney/python-stdlib-list";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}