summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/undefined/default.nix
blob: 3bed50f985c43bb153a88991260ed2f0b6591bda (plain)
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
{
  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 = {
    description = "Like `None`, but different in several ways";
    homepage = "https://github.com/Carreau/undefined";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}