depot/third_party/nixpkgs/pkgs/development/python-modules/undefined/default.nix

29 lines
572 B
Nix
Raw Normal View History

{
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; [ ];
};
}