My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/jdcal/default.nix

28 lines
573 B

{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "jdcal";
version = "1.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8";
};
checkInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = {
description = "A module containing functions for converting between Julian dates and calendar dates";
homepage = "https://github.com/phn/jdcal";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ lihop ];
};
}