1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/tools/misc/routino/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
648 B
Nix

{ stdenv, fetchurl, perl, zlib, bzip2 }:
stdenv.mkDerivation rec {
pname = "routino";
version = "3.2";
src = fetchurl {
url = "https://routino.org/download/${pname}-${version}.tgz";
sha256 = "0lkmpi8gn7qf40cx93jcp7nxa9dfwi1d6rjrhcqbdymszzm33972";
};
nativeBuildInputs = [ perl ];
buildInputs = [ zlib bzip2 ];
outputs = [ "out" "doc" ];
makeFlags = [ "prefix=$(out)" ];
meta = with stdenv.lib; {
homepage = http://www.routino.org/;
description = "OpenStreetMap Routing Software";
license = licenses.agpl3;
maintainers = with maintainers; [ dotlambda ];
platforms = with platforms; linux;
};
}