python310Packages.enhancements: init at 0.4.0

This commit is contained in:
Fabian Affolter 2022-05-13 10:17:57 +02:00
parent f9f5c9c8d4
commit f33ea38ec3
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ lib
, argcomplete
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, typeguard
}:
buildPythonPackage rec {
pname = "enhancements";
version = "0.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ssh-mitm";
repo = "python-enhancements";
rev = version;
hash = "sha256-Nff44WAQwSbkRpUHb9ANsQWWH2B819gtwQdXAjWJJls=";
};
propagatedBuildInputs = [
argcomplete
typeguard
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"enhancements"
];
meta = with lib; {
description = "Library which extends various Python classes";
homepage = "https://enhancements.readthedocs.io";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -2679,6 +2679,8 @@ in {
enamlx = callPackage ../development/python-modules/enamlx { };
enhancements = callPackage ../development/python-modules/enhancements { };
enlighten = callPackage ../development/python-modules/enlighten { };
enocean = callPackage ../development/python-modules/enocean { };