Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / click-datetime / default.nix
blobba710d74355d8f30b9a7666f369ff94c626aeff1
1 { lib, buildPythonPackage, fetchFromGitHub
2 , click }:
4 buildPythonPackage rec {
5   pname = "click-datetime";
6   version = "0.2.0";
8   src = fetchFromGitHub {
9     owner = "click-contrib";
10     repo = pname;
11     rev = version;
12     sha256 = "1yxagk4wd2h77nxml19bn2y26fv2xw2n9g981ls8mjy0g51ms3gh";
13   };
15   propagatedBuildInputs = [ click ];
17   # no tests
18   doCheck = false;
20   pythonImportsCheck = [ "click_datetime" ];
22   meta = with lib; {
23     description = "Datetime type support for click.";
24     homepage = "https://github.com/click-contrib/click-datetime";
25     license = licenses.mit;
26     maintainers = with maintainers; [ hexa ];
27   };