default.nix (932B)
1 { 2 lib, 3 stdenv, 4 fetchwebarchive, 5 }: 6 7 stdenv.mkDerivation { 8 pname = "cgpsmapper"; 9 version = "0093c"; 10 11 src = fetchwebarchive { 12 url = "http://cgpsmapper.com/download/cgpsmapper-static.gz"; 13 timestamp = "20160817191046"; 14 hash = "sha256-HTKJ4cU7YGVJaZqJDVcXu0YpKwx0PfT2W8aUN/+UXUA="; 15 }; 16 17 sourceRoot = "."; 18 unpackCmd = "gunzip -c $curSrc > cgpsmapper-static"; 19 20 dontFixup = true; 21 doInstallCheck = true; 22 23 installPhase = "install -Dm755 cgpsmapper-static -t $out/bin"; 24 25 installCheckPhase = "$out/bin/cgpsmapper-static -h"; 26 27 meta = { 28 description = "GIS converter into GARMIN compatible format maps"; 29 homepage = "https://web.archive.org/web/20160620061746if_/http://www.cgpsmapper.com"; 30 license = lib.licenses.free; 31 maintainers = [ lib.maintainers.sikmir ]; 32 platforms = [ 33 "i686-linux" 34 "x86_64-linux" 35 ]; 36 mainProgram = "cgpsmapper-static"; 37 skip.ci = true; 38 }; 39 }