mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
shapelib: 1.6.2 → 1.6.3
This commit is contained in:
@@ -2,28 +2,17 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchDebianPatch,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "shapelib";
|
||||
version = "1.6.2";
|
||||
version = "1.6.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.osgeo.org/shapelib/shapelib-${version}.tar.gz";
|
||||
hash = "sha256-S3SjbO2U6ae+pAEVfmZK3cxb4lHn33+I1GdDYdoBLCE=";
|
||||
hash = "sha256-P/Xq0Yym0v4knw6As2HhrWeCFlEVJo7UpYx4CmDB4Os=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build with gcc 15
|
||||
(fetchDebianPatch {
|
||||
inherit pname version;
|
||||
debianRevision = "1";
|
||||
patch = "gcc-15.patch";
|
||||
hash = "sha256-ubd8L2hxSAxTDiOSToVHGLHkpGOap5bnozdVdv9VgCQ=";
|
||||
})
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
preCheck = ''
|
||||
patchShebangs tests contrib/tests
|
||||
|
||||
Reference in New Issue
Block a user