python.pkgs.jdcal: 1.0 -> 1.3
This commit is contained in:
parent
670c194dab
commit
06c9299918
28
pkgs/development/python-modules/jdcal/default.nix
Normal file
28
pkgs/development/python-modules/jdcal/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "jdcal";
|
||||||
|
version = "1.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "b760160f8dc8cc51d17875c6b663fafe64be699e10ce34b6a95184b5aa0fdc9e";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -5541,25 +5541,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
jdcal = buildPythonPackage rec {
|
jdcal = callPackage ../development/python-modules/jdcal { };
|
||||||
version = "1.0";
|
|
||||||
name = "jdcal-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "phn";
|
|
||||||
repo = "jdcal";
|
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "0jjgrrylraqzk3n97hay4gj00ky6vlvkfaapfgqlbcxyq30j24vq";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A module containing functions for converting between Julian dates and calendar dates";
|
|
||||||
homepage = "https://github.com/phn/jdcal";
|
|
||||||
license = licenses.bsd2;
|
|
||||||
maintainers = with maintainers; [ lihop ];
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
internetarchive = callPackage ../development/python-modules/internetarchive {};
|
internetarchive = callPackage ../development/python-modules/internetarchive {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user