mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
27 lines
734 B
Nix
27 lines
734 B
Nix
|
{ 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 ];
|
||
|
};
|
||
|
}
|