Skip to content

Commit 4ed5ef3

Browse files
committed
libnoise: init at 0-unstable-2024-09-01
1 parent d4d7eaf commit 4ed5ef3

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitHub,
5+
cmake,
6+
}:
7+
8+
stdenv.mkDerivation (finalAttrs: {
9+
pname = "libnoise";
10+
version = "0-unstable-2024-09-01";
11+
12+
src = fetchFromGitHub {
13+
owner = "qknight";
14+
repo = "libnoise";
15+
rev = "9ce0737b55812f7de907e86dc633724524e3a8e8";
16+
hash = "sha256-coazd4yedH69b+TOSTFV1CEzN0ezjoGyOaYR9QBhp2E=";
17+
};
18+
19+
nativeBuildInputs = [ cmake ];
20+
21+
cmakeFlags = [
22+
(lib.cmakeBool "BUILD_SHARED_LIBS" true)
23+
];
24+
25+
meta = {
26+
description = "Portable, open-source, coherent noise-generating library for C++";
27+
homepage = "https://github.com/qknight/libnoise";
28+
license = lib.licenses.lgpl21;
29+
maintainers = with lib.maintainers; [ liberodark ];
30+
};
31+
})

0 commit comments

Comments
 (0)