nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 flit-core,
6}:
7
8buildPythonPackage rec {
9 pname = "stdlib-list";
10 version = "0.12.0";
11 pyproject = true;
12
13 src = fetchPypi {
14 pname = "stdlib_list";
15 inherit version;
16 hash = "sha256-UXgk8n7onlkdiufB3Z/zT2curlDuiG6jG7iBbXdTVnU=";
17 };
18
19 build-system = [ flit-core ];
20
21 pythonImportsCheck = [ "stdlib_list" ];
22
23 # tests see mismatches to our standard library
24 doCheck = false;
25
26 meta = {
27 description = "List of Python Standard Libraries";
28 homepage = "https://github.com/jackmaney/python-stdlib-list";
29 changelog = "https://github.com/pypi/stdlib-list/releases/tag/v${version}";
30 license = lib.licenses.mit;
31 maintainers = [ ];
32 };
33}