mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
python311Packages.scikit-misc: switch source from Pypi to GitHub
This commit is contained in:
parent
faad9ec1de
commit
2afcabadc0
@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cython
|
||||
, gfortran
|
||||
, git
|
||||
@ -15,12 +15,13 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "scikit-misc";
|
||||
version = "0.3.0";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "scikit_misc";
|
||||
inherit version;
|
||||
hash = "sha256-mom0Ch+b3bViErh9ueVYiGfVz5SQUSqCCcGsBJ7+Nrg=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "has2k1";
|
||||
repo = "scikit-misc";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-XV3s+y3JdMr1770S91ek6Y7MqvTg7/2cphLQldUPe5s=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user