pythonPackages.click-datetime: init at 0.2

This commit is contained in:
Martin Weinelt 2020-08-01 23:15:13 +02:00 committed by Jon
parent 18ba7fc789
commit 2db9d13de4
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, buildPythonPackage, fetchFromGitHub
, click }:
buildPythonPackage rec {
pname = "click-datetime";
version = "0.2.0";
src = fetchFromGitHub {
owner = "click-contrib";
repo = pname;
rev = version;
sha256 = "1yxagk4wd2h77nxml19bn2y26fv2xw2n9g981ls8mjy0g51ms3gh";
};
propagatedBuildInputs = [ 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 ];
};
}

View file

@ -2352,6 +2352,8 @@ in {
click-completion = callPackage ../development/python-modules/click-completion {};
click-datetime = callPackage ../development/python-modules/click-datetime { };
click-default-group = callPackage ../development/python-modules/click-default-group { };
click-didyoumean = callPackage ../development/python-modules/click-didyoumean {};