loki: init at 0.1.7

This commit is contained in:
Peter Hoeg 2017-01-04 16:37:31 +08:00
parent 7ee897a3b3
commit 427de85390
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "loki-${version}";
version = "0.1.7";
src = fetchurl {
url = "mirror://sourceforge/loki-lib/Loki/Loki%20${version}/loki-${version}.tar.gz";
sha256 = "1xhwna961fl4298ac5cc629x5030zlw31vx4h8zws290amw5860g";
};
buildPhase = ''
substituteInPlace Makefile.common --replace /usr $out
make build-shared
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A C++ library of designs, containing flexible implementations of common design patterns and idioms";
homepage = http://loki-lib.sourceforge.net;
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ peterhoeg ];
};
}

View file

@ -2669,6 +2669,8 @@ in
logstalgia = callPackage ../tools/graphics/logstalgia {};
loki = callPackage ../development/libraries/loki { };
longview = callPackage ../servers/monitoring/longview { };
lout = callPackage ../tools/typesetting/lout { };