astral: init at 1.4
This commit is contained in:
parent
ac4f896fc6
commit
ab02f5400e
26
pkgs/development/python-modules/astral/default.nix
Normal file
26
pkgs/development/python-modules/astral/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, pytz, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astral";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "1zm1ypc6w279gh7lbgsfbzfxk2x4gihlq3rfh59hj70hmhjwiwp7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pytz ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = ''
|
||||
py.test -k "not test_GoogleLocator"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Calculations for the position of the sun and the moon";
|
||||
homepage = https://github.com/sffjunkie/astral/;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ flokli ];
|
||||
};
|
||||
}
|
|
@ -165,6 +165,8 @@ in {
|
|||
|
||||
asn1crypto = callPackage ../development/python-modules/asn1crypto { };
|
||||
|
||||
astral = callPackage ../development/python-modules/astral { };
|
||||
|
||||
astropy = callPackage ../development/python-modules/astropy { };
|
||||
|
||||
augeas = callPackage ../development/python-modules/augeas {
|
||||
|
|
Loading…
Reference in a new issue