nixpkgs/pkgs/development/python-modules/astropy/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

32 lines
742 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, numpy
, cython
, h5py
, scipy }:
buildPythonPackage rec {
pname = "astropy";
version = "1.3.3";
name = "${pname}-${version}";
doCheck = false; #Some tests are failing. More importantly setup.py hangs on completion. Needs fixing with a proper shellhook.
src = fetchPypi {
inherit pname version;
sha256 = "ed093e033fcbee5a3ec122420c3376f8a80f74663214560727d3defe82170a99";
};
propagatedBuildInputs = [ numpy cython h5py scipy ];
meta = {
description = "Astronomy/Astrophysics library for Python";
homepage = http://www.astropy.org;
license = lib.licenses.bsd3;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ kentjames ];
};
}