tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
libvarlink: 22 -> 23
Artturin
3 years ago
2900412c
6444c18e
+20
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
libvarlink
default.nix
+20
-6
pkgs/development/libraries/libvarlink/default.nix
···
4
4
, meson
5
5
, ninja
6
6
, python3
7
7
+
, nix-update-script
8
8
+
, testers
7
9
}:
8
10
9
9
-
stdenv.mkDerivation rec {
11
11
+
stdenv.mkDerivation (finalAttrs: {
10
12
pname = "libvarlink";
11
11
-
version = "22";
13
13
+
version = "23";
12
14
13
15
src = fetchFromGitHub {
14
16
owner = "varlink";
15
15
-
repo = pname;
16
16
-
rev = version;
17
17
-
sha256 = "1i15227vlc9k4276r833ndhxrcys9305pf6dga1j0alx2vj85yz2";
17
17
+
repo = finalAttrs.pname;
18
18
+
rev = finalAttrs.version;
19
19
+
sha256 = "sha256-oUy9HhybNMjRBWoqqal1Mw8cC5RddgN4izxAl0cgnKE=";
18
20
};
19
21
20
22
nativeBuildInputs = [ meson ninja ];
···
33
35
34
36
doCheck = true;
35
37
38
38
+
passthru = {
39
39
+
updateScript = nix-update-script {
40
40
+
attrPath = finalAttrs.pname;
41
41
+
};
42
42
+
tests = {
43
43
+
version = testers.testVersion {
44
44
+
package = finalAttrs.finalPackage;
45
45
+
command = "varlink --version";
46
46
+
};
47
47
+
};
48
48
+
};
49
49
+
36
50
meta = with lib; {
37
51
description = "C implementation of the Varlink protocol and command line tool";
38
52
homepage = "https://github.com/varlink/libvarlink";
···
40
54
maintainers = with maintainers; [ artturin ];
41
55
platforms = platforms.linux;
42
56
};
43
43
-
}
57
57
+
})