https://github.com/click-contrib/click-datetime/compare/0.2.0...942964cf71b5c43a542e63e634c934ab29d3daf3
38 lines
709 B
Nix
38 lines
709 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
poetry-core,
|
|
click,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "click-datetime";
|
|
version = "0.4.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "click_datetime";
|
|
inherit version;
|
|
hash = "sha256-nzXtP6sT9VMiHOjFqJXlGF1zYJk8Ud1/hii5tPY2kws=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
pythonRemoveDeps = [ "wheel" ];
|
|
|
|
dependencies = [ click ];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "click_datetime" ];
|
|
|
|
meta = with lib; {
|
|
description = "Datetime type support for click";
|
|
homepage = "https://github.com/click-contrib/click-datetime";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|