blob: c6a3ac47aa70f3ae76dd6c26c085576939f7b900 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ stdenv, buildPythonPackage, fetchPypi, pytz, pytest }:
buildPythonPackage rec {
pname = "astral";
version = "1.5";
src = fetchPypi {
inherit pname version;
sha256 = "527628fbfe90c1596c3950ff84ebd07ecc10c8fb1044c903a0519b5057700cb6";
};
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 ];
};
}
|