diff options
author | Peter Hoeg <peter@speartail.com> | 2017-01-04 16:37:31 +0800 |
---|---|---|
committer | Peter Hoeg <peter@speartail.com> | 2017-01-07 20:49:54 +0800 |
commit | 427de8539021697fa11775436a2593b9406655f8 (patch) | |
tree | 2f11de58c214c27c1eccdaa84077e0261cc67aee /pkgs/development/libraries/loki | |
parent | 7ee897a3b3aa75dc53bd408ceea5f9e4e98822b2 (diff) |
loki: init at 0.1.7
Diffstat (limited to 'pkgs/development/libraries/loki')
-rw-r--r-- | pkgs/development/libraries/loki/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/libraries/loki/default.nix b/pkgs/development/libraries/loki/default.nix new file mode 100644 index 0000000000000..2ff927048ad5e --- /dev/null +++ b/pkgs/development/libraries/loki/default.nix @@ -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 ]; + }; +} |