1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 09:03:48 +00:00
nixpkgs/pkgs/development/python-modules/hdmedians/default.nix
Matthew Bauer 290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00

36 lines
720 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, cython
, numpy
}:
buildPythonPackage rec {
version = "0.13";
pname = "hdmedians";
src = fetchPypi {
inherit pname version;
sha256 = "230f80e064d905c49a1941af1b7e806e2f22b3c9a90ad5c21fd17d72636ea277";
};
# nose was specified in setup.py as a build dependency...
buildInputs = [ cython nose ];
propagatedBuildInputs = [ numpy ];
# cannot resolve path for packages in tests
doCheck = false;
checkPhase = ''
nosetests
'';
meta = with stdenv.lib; {
homepage = https://github.com/daleroberts/hdmedians;
description = "High-dimensional medians";
license = licenses.gpl3;
maintainers = [ maintainers.costrouc ];
};
}