default.nix (849B)
1 { 2 lib, 3 stdenv, 4 fetchwebarchive, 5 }: 6 7 stdenv.mkDerivation { 8 pname = "sendmap20"; 9 version = "4.2"; 10 11 src = fetchwebarchive { 12 url = "http://cgpsmapper.com/download/sendmap20.gz"; 13 timestamp = "20160622234550"; 14 hash = "sha256-mnRMW9W5eiqXQ3hLQhcBc5+UoNDO8WyoaD3Hiwce1SE="; 15 }; 16 17 sourceRoot = "."; 18 unpackCmd = "gunzip -c $curSrc > sendmap20"; 19 20 dontFixup = true; 21 doInstallCheck = true; 22 23 installPhase = "install -Dm755 sendmap20 -t $out/bin"; 24 25 installCheckPhase = "$out/bin/sendmap20 -h"; 26 27 meta = { 28 description = "Software for uploading maps to your GPS"; 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 skip.ci = true; 37 }; 38 }