tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
ksh: reformat, use finalAttrs over rec
Sigmanificient
2 years ago
c6f5d6a5
88382bf5
+26
-12
1 changed file
expand all
collapse all
unified
split
pkgs
shells
ksh
default.nix
+26
-12
pkgs/shells/ksh/default.nix
reviewed
···
1
1
-
{ lib, stdenv, meson, ninja, fetchFromGitHub, which, python3, fetchpatch
2
2
-
, libiconv }:
1
1
+
{
2
2
+
lib,
3
3
+
stdenv,
4
4
+
meson,
5
5
+
ninja,
6
6
+
fetchFromGitHub,
7
7
+
which,
8
8
+
python3,
9
9
+
fetchpatch,
10
10
+
libiconv,
11
11
+
}:
3
12
4
4
-
stdenv.mkDerivation rec {
13
13
+
stdenv.mkDerivation (finalAttrs: {
5
14
pname = "ksh";
6
15
version = "2020.0.0";
7
16
8
17
src = fetchFromGitHub {
9
9
-
owner = "att";
10
10
-
repo = "ast";
11
11
-
rev = version;
18
18
+
owner = "att";
19
19
+
repo = "ast";
20
20
+
rev = finalAttrs.version;
12
21
sha256 = "0cdxz0nhpq03gb9rd76fn0x1yzs2c8q289b7vcxnzlsrz1imz65j";
13
22
};
14
23
···
19
28
})
20
29
];
21
30
22
22
-
nativeBuildInputs = [ meson ninja which python3 ];
31
31
+
nativeBuildInputs = [
32
32
+
meson
33
33
+
ninja
34
34
+
which
35
35
+
python3
36
36
+
];
23
37
24
38
buildInputs = [ libiconv ];
25
39
26
40
strictDeps = true;
27
41
28
28
-
meta = with lib; {
42
42
+
meta = {
29
43
description = "KornShell Command And Programming Language";
30
44
longDescription = ''
31
45
The KornShell language was designed and developed by David G. Korn at
···
34
48
many different computers and workstations on which it is implemented.
35
49
'';
36
50
homepage = "https://github.com/att/ast";
37
37
-
license = licenses.cpl10;
38
38
-
maintainers = with maintainers; [ sigmanificient ];
39
39
-
platforms = platforms.all;
51
51
+
license = lib.licenses.cpl10;
52
52
+
maintainers = with lib.maintainers; [ sigmanificient ];
53
53
+
platforms = lib.platforms.all;
40
54
};
41
55
42
56
passthru = {
43
57
shellPath = "/bin/ksh";
44
58
};
45
45
-
}
59
59
+
})