3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.convertdate: init at 2.2.0

This commit is contained in:
Jaakko Luttinen 2020-03-09 17:20:54 +02:00 committed by Jon
parent 1501648410
commit 6f26390120
2 changed files with 25 additions and 0 deletions

View 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 ];
};
}

View file

@ -571,6 +571,8 @@ in {
codespell = callPackage ../development/python-modules/codespell { };
convertdate = callPackage ../development/python-modules/convertdate { };
crc32c = callPackage ../development/python-modules/crc32c { };
curio = callPackage ../development/python-modules/curio { };