nixpkgs/pkgs/tools/networking/olsrd/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

26 lines
645 B
Nix

{ stdenv, fetchurl, bison, flex }:
stdenv.mkDerivation rec {
pname = "olsrd";
version = "0.9.6.1";
src = fetchurl {
url = "http://www.olsr.org/releases/0.9/${pname}-${version}.tar.bz2";
sha256 = "9cac290e9bff5fc7422110b9ccd972853f10962c962d2f31a63de9c6d1520612";
};
buildInputs = [ bison flex ];
preConfigure = ''
makeFlags="prefix=$out ETCDIR=$out/etc"
'';
meta = {
description = "An adhoc wireless mesh routing daemon";
license = stdenv.lib.licenses.bsd3;
homepage = http://olsr.org/;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}