diff options
author | Florian Klink <flokli@flokli.de> | 2017-11-23 23:53:28 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-01-30 11:01:05 +0100 |
commit | ab02f5400e02fa6e270ca62bbf1398317cbb1a3d (patch) | |
tree | 41670c5a809b8f0f0370c3dae2fa124ad3c184ec /pkgs/development/python-modules/astral/default.nix | |
parent | ac4f896fc6ce0f879e6b7798a7375f2150544e17 (diff) | |
download | nixpkgs-ab02f5400e02fa6e270ca62bbf1398317cbb1a3d.tar nixpkgs-ab02f5400e02fa6e270ca62bbf1398317cbb1a3d.tar.gz nixpkgs-ab02f5400e02fa6e270ca62bbf1398317cbb1a3d.tar.bz2 nixpkgs-ab02f5400e02fa6e270ca62bbf1398317cbb1a3d.tar.lz nixpkgs-ab02f5400e02fa6e270ca62bbf1398317cbb1a3d.tar.xz nixpkgs-ab02f5400e02fa6e270ca62bbf1398317cbb1a3d.tar.zst nixpkgs-ab02f5400e02fa6e270ca62bbf1398317cbb1a3d.zip |
astral: init at 1.4
Diffstat (limited to 'pkgs/development/python-modules/astral/default.nix')
-rw-r--r-- | pkgs/development/python-modules/astral/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/astral/default.nix b/pkgs/development/python-modules/astral/default.nix new file mode 100644 index 00000000000..76dba87f964 --- /dev/null +++ b/pkgs/development/python-modules/astral/default.nix @@ -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 ]; + }; +} |