mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
28e18763bb
Diff: https://github.com/Maproom/qmapshack/compare/V_1.17.0...V_1.17.1 Changelog: https://github.com/Maproom/qmapshack/blob/V_1.17.1/changelog.txt
36 lines
978 B
Nix
36 lines
978 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, wrapQtAppsHook
|
|
, qtscript, qtwebengine, gdal, proj, routino, quazip }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qmapshack";
|
|
version = "1.17.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Maproom";
|
|
repo = "qmapshack";
|
|
rev = "V_${version}";
|
|
hash = "sha256-wqztKmaUxY3qd7IgPM7kV7x0BsrTMTX3DbcdM+lsarI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
|
|
|
buildInputs = [ qtscript qtwebengine gdal proj routino quazip ];
|
|
|
|
cmakeFlags = [
|
|
"-DROUTINO_XML_PATH=${routino}/share/routino"
|
|
];
|
|
|
|
qtWrapperArgs = [
|
|
"--suffix PATH : ${lib.makeBinPath [ gdal routino ]}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Consumer grade GIS software";
|
|
homepage = "https://github.com/Maproom/qmapshack";
|
|
changelog = "https://github.com/Maproom/qmapshack/blob/V_${version}/changelog.txt";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ dotlambda sikmir ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|