1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchPypi
5, setuptools
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "sentinels";
11 version = "1.0.0";
12
13 disabled = pythonOlder "3.5";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "1cglkxph47pki4db4kjx5g4ikxp2milqdlcjgqwmx4p1gx6p1q3v";
18 };
19
20 propagatedBuildInputs = [
21 setuptools
22 ];
23
24 nativeCheckInputs = [
25 pytestCheckHook
26 ];
27
28 pythonImportsCheck = [ "sentinels" ];
29
30 meta = with lib; {
31 homepage = "https://github.com/vmalloc/sentinels/";
32 description = "Various objects to denote special meanings in python";
33 license = licenses.bsd3;
34 maintainers = with maintainers; [ gador ];
35 };
36}