pythonPackages.convertdate: init at 2.2.0
This commit is contained in:
parent
1501648410
commit
6f26390120
23
pkgs/development/python-modules/convertdate/default.nix
Normal file
23
pkgs/development/python-modules/convertdate/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchFromGitHub, pymeeus, pytz }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "convertdate";
|
||||||
|
version = "2.2.0";
|
||||||
|
|
||||||
|
# Tests are not available in the PyPI tarball so use GitHub instead.
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "fitnr";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "04j8k7a9qndmawy3m345py74y18hw7lb6gc0qp0mr8d68x99xjq0";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ pymeeus pytz ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/fitnr/convertdate";
|
||||||
|
description = "Utils for converting between date formats and calculating holidays";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ jluttine ];
|
||||||
|
};
|
||||||
|
}
|
@ -571,6 +571,8 @@ in {
|
|||||||
|
|
||||||
codespell = callPackage ../development/python-modules/codespell { };
|
codespell = callPackage ../development/python-modules/codespell { };
|
||||||
|
|
||||||
|
convertdate = callPackage ../development/python-modules/convertdate { };
|
||||||
|
|
||||||
crc32c = callPackage ../development/python-modules/crc32c { };
|
crc32c = callPackage ../development/python-modules/crc32c { };
|
||||||
|
|
||||||
curio = callPackage ../development/python-modules/curio { };
|
curio = callPackage ../development/python-modules/curio { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user