python3Packages.sentinels: init at 1.0.0

This commit is contained in:
florian on nixos (Florian Brandes) 2022-01-17 21:59:14 +01:00
parent d0a7fc845d
commit 0a85191a3b
No known key found for this signature in database
GPG key ID: 074048E893713170
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ 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 ];
};
}

View file

@ -8819,6 +8819,8 @@ in {
sentinel = callPackage ../development/python-modules/sentinel { };
sentinels = callPackage ../development/python-modules/sentinels { };
sentry-sdk = callPackage ../development/python-modules/sentry-sdk { };
sepaxml = callPackage ../development/python-modules/sepaxml { };