about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/stdlib-list/default.nix
blob: 86f7c6a7d629f4c4f8f89c71aa4a4b0264429042 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ 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; [ hexa ];
  };
}