python311Packages.scikit-misc: switch source from Pypi to GitHub

This commit is contained in:
Gaetan Lepage 2023-10-23 11:43:34 +02:00
parent faad9ec1de
commit 2afcabadc0

View File

@ -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 = ''