default.nix (828B)
1 { lib, stdenv, fetchwebarchive }: 2 3 stdenv.mkDerivation { 4 pname = "sendmap20"; 5 version = "4.2"; 6 7 src = fetchwebarchive { 8 url = "http://cgpsmapper.com/download/sendmap20.gz"; 9 timestamp = "20160622234550"; 10 hash = "sha256-mnRMW9W5eiqXQ3hLQhcBc5+UoNDO8WyoaD3Hiwce1SE="; 11 }; 12 13 sourceRoot = "."; 14 unpackCmd = "gunzip -c $curSrc > sendmap20"; 15 16 dontFixup = true; 17 doInstallCheck = true; 18 19 installPhase = "install -Dm755 sendmap20 -t $out/bin"; 20 21 installCheckPhase = "$out/bin/sendmap20 -h"; 22 23 meta = with lib; { 24 description = "Software for uploading maps to your GPS"; 25 homepage = "https://web.archive.org/web/20160620061746if_/http://www.cgpsmapper.com"; 26 license = licenses.free; 27 maintainers = [ maintainers.sikmir ]; 28 platforms = [ "i686-linux" "x86_64-linux" ]; 29 skip.ci = true; 30 }; 31 }