nixpkgs/pkgs/development/python-modules/sentinels/default.nix
florian on nixos (Florian Brandes) 0a85191a3b
python3Packages.sentinels: init at 1.0.0
2022-01-18 08:55:43 +01:00

37 lines
681 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "sentinels";
version = "1.0.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "1cglkxph47pki4db4kjx5g4ikxp2milqdlcjgqwmx4p1gx6p1q3v";
};
propagatedBuildInputs = [
setuptools
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "sentinels" ];
meta = with lib; {
homepage = "https://github.com/vmalloc/sentinels/";
description = "Various objects to denote special meanings in python";
license = licenses.bsd3;
maintainers = with maintainers; [ gador ];
};
}