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

40 lines
792 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
humanfriendly,
verboselogs,
coloredlogs,
pytest,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "property-manager";
version = "3.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "xolox";
repo = "python-property-manager";
rev = version;
sha256 = "1v7hjm7qxpgk92i477fjhpcnjgp072xgr8jrgmbrxfbsv4cvl486";
};
propagatedBuildInputs = [
coloredlogs
humanfriendly
verboselogs
];
nativeCheckInputs = [
pytest
pytest-cov-stub
];
meta = with lib; {
description = "Useful property variants for Python programming";
homepage = "https://github.com/xolox/python-property-manager";
license = licenses.mit;
maintainers = with maintainers; [ eyjhb ];
};
}