python3Packages.seekpath: fix build, use github for tests

This commit is contained in:
Jonathan Ringer 2020-06-12 13:57:27 -07:00
parent dd35d3b655
commit 3ba9e643fd

View File

@ -1,17 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi, numpy, future, spglib, glibcLocales, pytest }: { stdenv, buildPythonPackage, fetchFromGitHub, numpy, future, spglib, glibcLocales, pytest, scipy }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "seekpath"; pname = "seekpath";
version = "2.0.1"; version = "2.0.1";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "giovannipizzi";
sha256 = "188513ee187fbbace49066a29ecea9bbd351f23da3bea33d507d0f590856b082"; repo = pname;
rev = "v${version}";
sha256 = "0x592650ynacmx5n5bilj5lja4iw0gf1nfypy82cmy5z363qhqxn";
}; };
LC_ALL = "en_US.utf-8"; LC_ALL = "en_US.utf-8";
propagatedBuildInputs = [ numpy spglib future ]; # scipy isn't listed in install_requires, but used in package
propagatedBuildInputs = [ numpy spglib future scipy ];
nativeBuildInputs = [ glibcLocales ]; nativeBuildInputs = [ glibcLocales ];