nixpkgs-suyu/pkgs/development/python-modules/cement/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

33 lines
668 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "cement";
version = "3.0.8";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-rRGmlGZeKtKEV8VgSU9PjDaiX8WOUA1gip2R4E4dMJM=";
};
# Disable test tests since they depend on a memcached server running on
# 127.0.0.1:11211.
doCheck = false;
pythonImportsCheck = [
"cement"
];
meta = with lib; {
description = "CLI Application Framework for Python";
homepage = "https://builtoncement.com/";
license = licenses.bsd3;
maintainers = with maintainers; [ eqyiel ];
};
}