Skip to content

Commit

Permalink
libspatialindex: 1.9.3 -> 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
imincik committed Jun 8, 2024
1 parent 3b66427 commit 6826d7d
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions pkgs/development/libraries/libspatialindex/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake }:
{ lib, stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation (finalAttrs: {
pname = "libspatialindex";
version = "1.9.3";
version = "2.0.0";

src = fetchFromGitHub {
owner = "libspatialindex";
repo = "libspatialindex";
rev = finalAttrs.version;
hash = "sha256-zsvS0IkCXyuNLCQpccKdAsFKoq0l+y66ifXlTHLNTkc=";
hash = "sha256-hZyAXz1ddRStjZeqDf4lYkV/g0JLqLy7+GrSUh75k20=";
};

patches = [
# Allow building static libs
(fetchpatch {
name = "fix-static-lib-build.patch";
url = "https://github.com/libspatialindex/libspatialindex/commit/caee28d84685071da3ff3a4ea57ff0b6ae64fc87.patch";
hash = "sha256-nvTW/t9tw1ZLeycJY8nj7rQgZogxQb765Ca2b9NDvRo=";
})
];

nativeBuildInputs = [ cmake ];

cmakeFlags = [
Expand Down

0 comments on commit 6826d7d

Please sign in to comment.