commit 99f5cb3ee8883fe45a7e2fd63796645e109f5c50
parent 2ced94270b4c71d5237041277036a041c9d57189
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Tue, 21 Jun 2022 14:05:22 +0300
Remove qgis-bin,qgis-ltr-bin
Diffstat:
2 files changed, 0 insertions(+), 42 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -194,8 +194,6 @@ lib.makeScope newScope (
polyvectorization = libsForQt5.callPackage ./geospatial/polyvectorization { };
py-staticmaps = callPackage ./geospatial/py-staticmaps { };
pystac = callPackage ./geospatial/pystac { };
- qgis-bin = callPackage ./geospatial/qgis/bin.nix { };
- qgis-ltr-bin = qgis-bin.override { releaseType = "ltr"; };
qmapshack-bin = callPackage ./geospatial/qmapshack/bin.nix { };
render_geojson = callPackage ./geospatial/render_geojson { };
rio-cogeo = callPackage ./geospatial/rio-cogeo { };
diff --git a/pkgs/geospatial/qgis/bin.nix b/pkgs/geospatial/qgis/bin.nix
@@ -1,40 +0,0 @@
-{ lib, stdenv, fetchurl, undmg, releaseType ? "pr" }:
-
-assert lib.assertOneOf "releaseType" releaseType [ "pr" "ltr" ];
-
-stdenv.mkDerivation rec {
- pname = "qgis-bin";
- version = {
- pr = "3.18.1";
- ltr = "3.16.5";
- }.${releaseType};
-
- src = fetchurl {
- url = "https://qgis.org/downloads/macos/qgis-macos-${releaseType}.dmg";
- sha256 = {
- pr = "04nsxgzi0wc11fvmzakacqmwpi2zqpr70acbkyi407jwg4pb23il";
- ltr = "17y3xia7z5imd1csxiqdxdg9v39ryzl09j9gyfjs8wfqs2rg1yi6";
- }.${releaseType};
- name = "QGIS-macOS-${version}.dmg";
- };
-
- preferLocalBuild = true;
-
- nativeBuildInputs = [ undmg ];
-
- sourceRoot = ".";
-
- installPhase = ''
- mkdir -p $out/Applications
- cp -r *.app $out/Applications
- '';
-
- meta = with lib; {
- description = "A Free and Open Source Geographic Information System";
- homepage = "https://qgis.org";
- license = licenses.gpl2Plus;
- maintainers = [ maintainers.sikmir ];
- platforms = [ "x86_64-darwin" ];
- skip.ci = true;
- };
-}