Unverified Commit 643e8898 authored by Ivan Mincik's avatar Ivan Mincik Committed by GitHub
Browse files

geos: fetch source code from GitHub (#255970)

parents 5a1d9ce9 866488e4
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -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 ];