commit c03c90c10d578f8d54195450d3573b8edbcd9d05
parent 1df2720a8438aa8e1124b3ae6c6de0798391f367
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Wed, 18 Feb 2026 22:56:50 +0400
Drop ossim
Diffstat:
1 file changed, 0 insertions(+), 80 deletions(-)
diff --git a/pkgs/by-name/os/ossim/package.nix b/pkgs/by-name/os/ossim/package.nix
@@ -1,80 +0,0 @@
-{
- lib,
- stdenv,
- fetchFromGitHub,
- fetchpatch,
- cmake,
- makeWrapper,
- curl,
- freetype,
- geos,
- jsoncpp,
- libgeotiff,
- libjpeg,
- libtiff,
- proj,
- sqlite,
-}:
-
-stdenv.mkDerivation (finalAttrs: {
- pname = "ossim";
- version = "2.12.0";
-
- src = fetchFromGitHub {
- owner = "ossimlabs";
- repo = "ossim";
- tag = "v${finalAttrs.version}";
- hash = "sha256-nVQN+XnCYpVQSkgKsolqbR3KtPGTkvpym4cDl7IqjUc=";
- };
-
- patches = [
- # Fixed build error gcc version 15.0.1
- (fetchpatch {
- url = "https://github.com/ossimlabs/ossim/commit/13b9fa9ae54f79a7e7728408de6246e00d38f399.patch";
- hash = "sha256-AKzOT+JurB/54gvzn2a5amw+uIupaNxssnEhc8CSfPM=";
- })
- ];
-
- postPatch = ''
- substituteInPlace CMakeLists.txt \
- --replace-fail 'GET_GIT_REVISION()' "" \
- --replace-fail 'OSSIM_GIT_REVISION_NUMBER "UNKNOWN"' 'OSSIM_GIT_REVISION_NUMBER "${finalAttrs.version}"'
- '';
-
- nativeBuildInputs = [
- cmake
- makeWrapper
- ];
-
- buildInputs = [
- curl
- freetype
- geos
- jsoncpp
- libgeotiff
- libjpeg
- libtiff
- proj
- sqlite
- ];
-
- cmakeFlags = [
- (lib.cmakeBool "BUILD_OSSIM_TESTS" false)
- (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
- ];
-
- postInstall = ''
- for binary in $out/bin/ossim-*; do
- wrapProgram $binary \
- --prefix LD_LIBRARY_PATH ":" $out/lib
- done
- '';
-
- meta = {
- description = "Open Source Software Image Map library";
- homepage = "https://github.com/ossimlabs/ossim";
- license = lib.licenses.mit;
- maintainers = [ lib.maintainers.sikmir ];
- platforms = lib.platforms.unix;
- };
-})