tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
coccinelle: backport some useful patches
Jan Tojnar
3 years ago
d4b1bbb7
48728f5c
+35
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
misc
coccinelle
default.nix
+35
pkgs/development/tools/misc/coccinelle/default.nix
reviewed
···
25
25
url = "https://github.com/coccinelle/coccinelle/commit/540888ff426e0b1f7907b63ce26e712d1fc172cc.patch";
26
26
sha256 = "sha256-W8RNIWDAC3lQ5bG+gD50r7x919JIcZRpt3QSOSMWpW4=";
27
27
})
28
28
+
29
29
+
# Fix attaching code before declarations.
30
30
+
# https://github.com/coccinelle/coccinelle/issues/282
31
31
+
(fetchpatch {
32
32
+
url = "https://github.com/coccinelle/coccinelle/commit/cd33db143416d820f547bf5869482cfcfc0ea9d0.patch";
33
33
+
sha256 = "q7wbxbB9Ob0fSJwCjRtDPO3Xg4RO9yrQZG9G0/LGunI=";
34
34
+
})
35
35
+
36
36
+
# Fix attaching declaration metavariables.
37
37
+
# https://github.com/coccinelle/coccinelle/issues/281
38
38
+
(fetchpatch {
39
39
+
url = "https://github.com/coccinelle/coccinelle/commit/df71c5c0fe2a73c7358f73f45a550b57a7e30d85.patch";
40
40
+
sha256 = "qrYfligJnXP7J5G/hfzyaKg9aFn74VExtc/Rs/DI2gc=";
41
41
+
})
42
42
+
43
43
+
# Support GLib’s autocleanup macros.
44
44
+
# https://github.com/coccinelle/coccinelle/issues/275
45
45
+
(fetchpatch {
46
46
+
url = "https://github.com/coccinelle/coccinelle/commit/6d5602aca8775c3c5c503939c3dcf0637649d09b.patch";
47
47
+
sha256 = "NACf8joOOvN32H/sIfI+oqiT3289zXXQVVfXbRfbIe8=";
48
48
+
})
49
49
+
50
50
+
# Exit with non-zero status on failure.
51
51
+
(fetchpatch {
52
52
+
url = "https://github.com/coccinelle/coccinelle/commit/6c0a855af14d41864e1e522b93dc39646a3b83c7.patch";
53
53
+
sha256 = "6yfK8arB0GDW7o4cXsv0Y9TMvqgGf3/P1ebXrFFUC80=";
54
54
+
})
55
55
+
(fetchpatch {
56
56
+
url = "https://github.com/coccinelle/coccinelle/commit/5448bb2bd03491ffec356bf7bd6ddcdbf4d36bc9.patch";
57
57
+
sha256 = "fyyxw2BNZUpyLBieIhOKeWbLFGP1tjULH70w/hU+jKw=";
58
58
+
})
59
59
+
(fetchpatch {
60
60
+
url = "https://github.com/coccinelle/coccinelle/commit/b8b1937657765e991195a10fcd7b8f7a300fc60b.patch";
61
61
+
sha256 = "ergWJF6BKrhmJhx1aiVYDHztgjaQvaJ5iZRAmC9i22s=";
62
62
+
})
28
63
];
29
64
30
65
nativeBuildInputs = with ocamlPackages; [