mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-24 01:21:11 +00:00
geos: fetch source code from GitHub (#255970)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
callPackage,
|
||||
fetchurl,
|
||||
fetchFromGitHub,
|
||||
testers,
|
||||
|
||||
cmake,
|
||||
@@ -12,9 +12,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "geos";
|
||||
version = "3.13.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.osgeo.org/geos/geos-${finalAttrs.version}.tar.bz2";
|
||||
hash = "sha256-R+yD/zNNZyueRCZpXxXabmNoJEIUlx+r84b/jvbfOeQ=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "libgeos";
|
||||
repo = "geos";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-WcE5dbfbeq9uCRgfVgiA3MTOisRpilXxjquEM5aKTCc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
Reference in New Issue
Block a user