routino: fix data path

This commit is contained in:
Orivej Desh 2017-09-28 17:29:49 +00:00
parent f79fde1ca4
commit 0395a0d10b

View File

@ -1,18 +1,21 @@
{ stdenv, fetchurl, perl, zlib, bzip2 }:
stdenv.mkDerivation rec {
name = "Routino-${version}";
name = "routino-${version}";
version = "3.2";
src = fetchurl {
url = "http://routino.org/download/routino-${version}.tgz";
url = "http://routino.org/download/${name}.tgz";
sha256 = "0lkmpi8gn7qf40cx93jcp7nxa9dfwi1d6rjrhcqbdymszzm33972";
};
nativeBuildInputs = [ perl ];
buildInputs = [ zlib bzip2 ];
installFlags = [ "prefix=$(out)" ];
outputs = [ "out" "doc" ];
makeFlags = [ "prefix=$(out)" ];
meta = with stdenv.lib; {
homepage = http://www.routino.org/;