about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/undefined/default.nix
blob: 5348688680e1cf0834cee337189b1676c11bce84 (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
{ lib
, buildPythonPackage
, fetchPypi
, flit
}:

buildPythonPackage rec {
  pname = "undefined";
  version = "0.0.8";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-xvI3wOPX51GWlLIb1HHcJe48M3nZwjt06/Aqo0nFz/c=";
  };

  nativeBuildInputs = [
    flit
  ];

  pythonImportsCheck = [
    "undefined"
  ];

  meta = with lib; {
    description = "Ever needed a global object that act as None but not quite?";
    homepage = "https://github.com/Carreau/undefined";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}