File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 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+ } )
You can’t perform that action at this time.
0 commit comments