tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
yascreen: 1.86 -> 2.06
authored by
emaryn
and committed by
emaryn
8 months ago
8cf96acf
c3f363fb
+12
-18
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ya
yascreen
package.nix
+12
-18
pkgs/by-name/ya/yascreen/package.nix
···
3
stdenv,
4
go-md2man,
5
fetchFromGitHub,
6
-
fetchpatch,
7
}:
8
9
-
stdenv.mkDerivation rec {
10
pname = "yascreen";
11
-
version = "1.86";
12
13
src = fetchFromGitHub {
14
owner = "bbonev";
15
repo = "yascreen";
16
-
rev = "v${version}";
17
-
sha256 = "sha256-z7j2yceiUyJNdyoVXAPiINln2/MUMqVJh+VwQnmzO2A=";
18
};
19
20
nativeBuildInputs = [ go-md2man ];
21
-
makeFlags = [ "PREFIX=$(out)" ];
22
23
-
patches = [
24
-
(fetchpatch {
25
-
url = "https://github.com/bbonev/yascreen/commit/a30b8fce66a3db9f1194fede30a48424ed3d696b.patch";
26
-
sha256 = "sha256-Bnaf3OVMlqyYMdGsJ6fF3oYsWT01FcjuRzxi6xfbnZg=";
27
-
})
28
-
];
29
30
-
meta = with lib; {
31
homepage = "https://github.com/bbonev/yascreen";
32
-
description = "Yet Another Screen Library (curses replacement for daemons and embedded apps)";
33
-
license = licenses.lgpl3;
34
-
maintainers = [ maintainers.arezvov ];
35
-
platforms = platforms.linux;
0
36
};
37
-
}
···
3
stdenv,
4
go-md2man,
5
fetchFromGitHub,
0
6
}:
7
8
+
stdenv.mkDerivation (finalAttrs: {
9
pname = "yascreen";
10
+
version = "2.06";
11
12
src = fetchFromGitHub {
13
owner = "bbonev";
14
repo = "yascreen";
15
+
tag = "v${finalAttrs.version}";
16
+
hash = "sha256-CIeWghtOnuQmEMwIpC1Xo1zLsuV4c0V7YAXTqUAzX1g=";
17
};
18
19
nativeBuildInputs = [ go-md2man ];
0
20
21
+
makeFlags = [ "PREFIX=${placeholder "out"}" ];
0
0
0
0
0
22
23
+
meta = {
24
homepage = "https://github.com/bbonev/yascreen";
25
+
changelog = "https://github.com/bbonev/yascreen/releases/tag/${finalAttrs.src.tag}";
26
+
description = "Curses replacement for daemons and embedded apps";
27
+
license = lib.licenses.lgpl3Plus;
28
+
maintainers = [ lib.maintainers.arezvov ];
29
+
platforms = lib.platforms.linux;
30
};
31
+
})