File tree 2 files changed +35
-1
lines changed
2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change
1
+ { stdenv , fetchFromGitHub , ncurses } :
2
+
3
+ stdenv . mkDerivation {
4
+ pname = "netris" ;
5
+ version = "0.52" ;
6
+
7
+ src = fetchFromGitHub {
8
+ owner = "naclander" ;
9
+ repo = "netris" ;
10
+ rev = "6773c9b2d39a70481a5d6eb5368e9ced6229ad2b" ;
11
+ sha256 = "0gmxbpn50pnffidwjchkzph9rh2jm4wfq7hj8msp5vhdq5h0z9hm" ;
12
+ } ;
13
+
14
+ buildInputs = [
15
+ ncurses
16
+ ] ;
17
+
18
+ configureScript = "./Configure" ;
19
+ dontAddPrefix = true ;
20
+
21
+ installPhase = ''
22
+ mkdir -p $out/bin
23
+ cp ./netris $out/bin
24
+ '' ;
25
+
26
+ meta = with stdenv . lib ; {
27
+ description = "A free networked version of T*tris" ;
28
+ license = licenses . gpl2 ;
29
+ maintainers = with maintainers ; [ patryk27 ] ;
30
+ platforms = platforms . linux ;
31
+ } ;
32
+ }
Original file line number Diff line number Diff line change @@ -23600,7 +23600,7 @@ in
23600
23600
lua = lua5_1;
23601
23601
};
23602
23602
23603
- n2048 = callPackage ../games/n2048 {};
23603
+ n2048 = callPackage ../games/n2048 { };
23604
23604
23605
23605
naev = callPackage ../games/naev { };
23606
23606
@@ -23612,6 +23612,8 @@ in
23612
23612
};
23613
23613
23614
23614
nethack-x11 = callPackage ../games/nethack { x11Mode = true; };
23615
+
23616
+ netris = callPackage ../games/netris { };
23615
23617
23616
23618
neverball = callPackage ../games/neverball { };
23617
23619
You can’t perform that action at this time.
0 commit comments