mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
bf995e3641
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
34 lines
668 B
Nix
34 lines
668 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
click,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "click-datetime";
|
|
version = "0.2.0";
|
|
format = "setuptools";
|
|
|
|
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 ];
|
|
};
|
|
}
|