lol

Merge pull request #262886 from GaetanLepage/fiona

python311Packages.fiona: 1.9.4.post1 -> 1.9.5

authored by

Nikolay Korotkiy and committed by
GitHub
17a8cf9f 8fa4bf50

+14 -20
+7 -14
pkgs/development/python-modules/fiona/default.nix
··· 2 2 , buildPythonPackage 3 3 , pythonOlder 4 4 , fetchFromGitHub 5 - , cython 5 + , cython_3 6 6 , gdal 7 + , oldest-supported-numpy 7 8 , setuptools 8 9 , wheel 9 10 , attrs ··· 20 21 21 22 buildPythonPackage rec { 22 23 pname = "fiona"; 23 - version = "1.9.4.post1"; 24 - format = "pyproject"; 24 + version = "1.9.5"; 25 + pyproject = true; 25 26 26 27 disabled = pythonOlder "3.7"; 27 28 ··· 29 30 owner = "Toblerity"; 30 31 repo = "Fiona"; 31 32 rev = "refs/tags/${version}"; 32 - hash = "sha256-CeGdWAmWteVtL0BoBQ1sB/+1AWkmxogtK99bL5Fpdbw="; 33 + hash = "sha256-fq/BuyzuK4iOxdpE4h+KRH0CxOEk/wdmbb9KgCfJ1cw="; 33 34 }; 34 35 35 - postPatch = '' 36 - # Remove after https://github.com/Toblerity/Fiona/pull/1225 is released 37 - sed -i '/"oldest-supported-numpy"/d' pyproject.toml 38 - 39 - # Remove after https://github.com/Toblerity/Fiona/pull/1281 is released, 40 - # after which cython also needs to be updated to cython_3 41 - sed -i 's/Cython~=/Cython>=/' pyproject.toml 42 - ''; 43 - 44 36 nativeBuildInputs = [ 45 - cython 37 + cython_3 46 38 gdal # for gdal-config 39 + oldest-supported-numpy 47 40 setuptools 48 41 wheel 49 42 ];
+7 -6
pkgs/development/python-modules/scikit-misc/default.nix
··· 1 1 { lib 2 - , fetchPypi 3 2 , buildPythonPackage 3 + , fetchFromGitHub 4 4 , cython 5 5 , gfortran 6 6 , git ··· 15 15 buildPythonPackage rec { 16 16 pname = "scikit-misc"; 17 17 version = "0.3.0"; 18 - format = "pyproject"; 18 + pyproject = true; 19 19 20 - src = fetchPypi { 21 - pname = "scikit_misc"; 22 - inherit version; 23 - hash = "sha256-mom0Ch+b3bViErh9ueVYiGfVz5SQUSqCCcGsBJ7+Nrg="; 20 + src = fetchFromGitHub { 21 + owner = "has2k1"; 22 + repo = "scikit-misc"; 23 + rev = "refs/tags/v${version}"; 24 + hash = "sha256-XV3s+y3JdMr1770S91ek6Y7MqvTg7/2cphLQldUPe5s="; 24 25 }; 25 26 26 27 postPatch = ''