2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
2021-12-21 02:18:32 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cement";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "3.0.10";
|
2021-12-21 02:18:32 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-c9EBXr+bjfE+a8mH7fDUvj8ci0Q4kh7qjWbLtVBK7hU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Disable test tests since they depend on a memcached server running on
|
|
|
|
# 127.0.0.1:11211.
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "cement" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-12-21 02:18:32 +00:00
|
|
|
description = "CLI Application Framework for Python";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "cement";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://builtoncement.com/";
|
|
|
|
license = licenses.bsd3;
|
2021-12-21 02:18:32 +00:00
|
|
|
maintainers = with maintainers; [ eqyiel ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|