2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2017-01-04 08:37:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "loki";
|
2017-01-04 08:37:31 +00:00
|
|
|
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;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-01-04 08:37:31 +00:00
|
|
|
description = "A C++ library of designs, containing flexible implementations of common design patterns and idioms";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://loki-lib.sourceforge.net";
|
2017-01-04 08:37:31 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|