mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
python3Packages.seekpath: fix build, use github for tests
This commit is contained in:
parent
dd35d3b655
commit
3ba9e643fd
@ -1,17 +1,20 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, numpy, future, spglib, glibcLocales, pytest }:
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, numpy, future, spglib, glibcLocales, pytest, scipy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "seekpath";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "188513ee187fbbace49066a29ecea9bbd351f23da3bea33d507d0f590856b082";
|
||||
src = fetchFromGitHub {
|
||||
owner = "giovannipizzi";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0x592650ynacmx5n5bilj5lja4iw0gf1nfypy82cmy5z363qhqxn";
|
||||
};
|
||||
|
||||
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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user