1{ lib, buildPythonPackage, fetchFromGitHub 2, click }: 3 4buildPythonPackage rec { 5 pname = "click-datetime"; 6 version = "0.2.0"; 7 8 src = fetchFromGitHub { 9 owner = "click-contrib"; 10 repo = pname; 11 rev = version; 12 sha256 = "1yxagk4wd2h77nxml19bn2y26fv2xw2n9g981ls8mjy0g51ms3gh"; 13 }; 14 15 propagatedBuildInputs = [ click ]; 16 17 # no tests 18 doCheck = false; 19 20 pythonImportsCheck = [ "click_datetime" ]; 21 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 }; 28}