mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-06 05:13:37 +00:00
Compare commits
376 Commits
netboot-sy
...
public-inb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1194b13a33 | ||
|
|
eda3d604f5 | ||
|
|
4627ee741d | ||
|
|
5344f09328 | ||
|
|
ad7fbd276f | ||
|
|
2eb13af563 | ||
|
|
d718c355b3 | ||
|
|
0406bbc337 | ||
|
|
748cb0913f | ||
|
|
90630914a2 | ||
|
|
fea54c6aff | ||
|
|
72a51aa1b1 | ||
|
|
38a8717823 | ||
|
|
c0682450cf | ||
|
|
ea1634e286 | ||
|
|
807bd26a78 | ||
|
|
444cfa418c | ||
|
|
56769ee60b | ||
|
|
7fa389388d | ||
|
|
702709e40e | ||
|
|
f4e07e9a51 | ||
|
|
5836559f2a | ||
|
|
740fd914d5 | ||
|
|
2a33c46a38 | ||
|
|
2bfa0ebd13 | ||
|
|
4a1b4968e3 | ||
|
|
9047bfe2cd | ||
|
|
ee29a69fce | ||
|
|
39e30fa40e | ||
|
|
31cd1b4afb | ||
|
|
6ecc05202e | ||
|
|
0aa6a144bd | ||
|
|
945f0625d5 | ||
|
|
4434201f06 | ||
|
|
4f21db7edf | ||
|
|
b497502357 | ||
|
|
5176a4f113 | ||
|
|
5244934912 | ||
|
|
f25b2b2083 | ||
|
|
11b5bb37a7 | ||
|
|
1057888f5e | ||
|
|
821f346998 | ||
|
|
6e67d944b3 | ||
|
|
cfebfa1f4a | ||
|
|
49085ee1bb | ||
|
|
190a507975 | ||
|
|
14aa5c4db1 | ||
|
|
cb1c91382e | ||
|
|
b8b7b8e941 | ||
|
|
7409480d5c | ||
|
|
e86d62355e | ||
|
|
d1a7475301 | ||
|
|
1535530692 | ||
|
|
3b6a29143b | ||
|
|
364e76f811 | ||
|
|
2e5b4636ff | ||
|
|
877e12b312 | ||
|
|
45cb7359f8 | ||
|
|
93fc2ce7c0 | ||
|
|
87a0230e64 | ||
|
|
3de47f52bd | ||
|
|
884110484c | ||
|
|
985b1525c6 | ||
|
|
4a159d8937 | ||
|
|
03c6591905 | ||
|
|
af17209b79 | ||
|
|
b1efae4a9e | ||
|
|
f1316cad1a | ||
|
|
59bc44dc75 | ||
|
|
793dd34507 | ||
|
|
a96eb6a349 | ||
|
|
f231f7860b | ||
|
|
f74befad2d | ||
|
|
f614105d5d | ||
|
|
1641e21315 | ||
|
|
a5cec01916 | ||
|
|
145825b55c | ||
|
|
10dbf4c795 | ||
|
|
df9d3da752 | ||
|
|
dbd3bea087 | ||
|
|
ff05ff4067 | ||
|
|
a4416c8d4b | ||
|
|
241f525928 | ||
|
|
3da62d6343 | ||
|
|
1fca3245e7 | ||
|
|
880de018d9 | ||
|
|
74f880ba5e | ||
|
|
a79b3beefc | ||
|
|
af42ce1db4 | ||
|
|
25dcceaf76 | ||
|
|
a4a21c6e15 | ||
|
|
d9ab7b1b65 | ||
|
|
b9ed2ba516 | ||
|
|
e70af2ea7e | ||
|
|
8f7d2c1829 | ||
|
|
8902dfbe46 | ||
|
|
845ed6342e | ||
|
|
e044112c05 | ||
|
|
004976464f | ||
|
|
37b721206e | ||
|
|
d8d3bcc73c | ||
|
|
6ad2ed2ada | ||
|
|
8ba006e057 | ||
|
|
0aef019111 | ||
|
|
783f7e4d7c | ||
|
|
31e745a3a5 | ||
|
|
07f161fed1 | ||
|
|
9c3bc86418 | ||
|
|
fe02c5ee1a | ||
|
|
8d08c93394 | ||
|
|
a807192daf | ||
|
|
c4b3593e24 | ||
|
|
ac379b0ac5 | ||
|
|
04ee32b773 | ||
|
|
4b5458961e | ||
|
|
821f922fe5 | ||
|
|
714cc1046a | ||
|
|
cee9a90891 | ||
|
|
d507bbc8dc | ||
|
|
502f6f83a9 | ||
|
|
ffcdc5bb81 | ||
|
|
8aa5842eac | ||
|
|
158d19fa80 | ||
|
|
3102d7713e | ||
|
|
b4a2d67964 | ||
|
|
abc86bc4ed | ||
|
|
d465aaf7c6 | ||
|
|
1f1c63f98d | ||
|
|
3f697e808b | ||
|
|
2ef0e0b1e6 | ||
|
|
671cbaf484 | ||
|
|
8b725d403a | ||
|
|
f3f4e914f1 | ||
|
|
0afcd8774f | ||
|
|
37679404cb | ||
|
|
ac80bb36a6 | ||
|
|
67d58d6eb2 | ||
|
|
bff97d5215 | ||
|
|
3b3e829840 | ||
|
|
a2c09555bc | ||
|
|
224be857c0 | ||
|
|
f8a644f243 | ||
|
|
6d8e5d3040 | ||
|
|
df34ed4185 | ||
|
|
3bb9d9c76f | ||
|
|
e94d5a01f9 | ||
|
|
0275eeda45 | ||
|
|
d96e4915e8 | ||
|
|
0c1d274ef9 | ||
|
|
a01c55bcbf | ||
|
|
eba34b6bea | ||
|
|
2d6b28f068 | ||
|
|
745089a9e0 | ||
|
|
2e56a85078 | ||
|
|
7127b1d4a1 | ||
|
|
3cf373b299 | ||
|
|
ca316fbb0f | ||
|
|
5c27e8f4b1 | ||
|
|
82f8be70cd | ||
|
|
21ed9b18f0 | ||
|
|
139013bc42 | ||
|
|
4bffe26537 | ||
|
|
3788de53f9 | ||
|
|
756e89e6ef | ||
|
|
7a9b483dd8 | ||
|
|
28b153b4b8 | ||
|
|
5c73c4d06b | ||
|
|
6672ae61c1 | ||
|
|
70fd155700 | ||
|
|
ac0254d4c8 | ||
|
|
e2e9016e34 | ||
|
|
2bcd410b75 | ||
|
|
882772927e | ||
|
|
1b4bcd4d8a | ||
|
|
498865b751 | ||
|
|
b6ed3b8f40 | ||
|
|
50301d73e9 | ||
|
|
4fdd015c76 | ||
|
|
5e777d5991 | ||
|
|
08d9e34f03 | ||
|
|
cbbfccd312 | ||
|
|
fca9bc364a | ||
|
|
7c0f98bba5 | ||
|
|
00b378b10b | ||
|
|
4537beecf3 | ||
|
|
4ae814f720 | ||
|
|
d79f020366 | ||
|
|
408b28e988 | ||
|
|
bbebc94fdb | ||
|
|
82f82bdff0 | ||
|
|
37a9952b43 | ||
|
|
b2138be293 | ||
|
|
962cc00249 | ||
|
|
1a351e6d12 | ||
|
|
6604559413 | ||
|
|
1a115fd91c | ||
|
|
be3252f3a0 | ||
|
|
ca78d062a7 | ||
|
|
35ba6d3687 | ||
|
|
4792ee0b1a | ||
|
|
acc3c4e38b | ||
|
|
7bb810431b | ||
|
|
142dadf174 | ||
|
|
d85fecf2e1 | ||
|
|
640627bae8 | ||
|
|
b6bbf837d8 | ||
|
|
92ae69ab72 | ||
|
|
856792338f | ||
|
|
62de9b1c93 | ||
|
|
84627c3598 | ||
|
|
f619f46710 | ||
|
|
e240ff4594 | ||
|
|
7df58ca2b0 | ||
|
|
475287d305 | ||
|
|
d3708698ee | ||
|
|
1bd3b30e2f | ||
|
|
a30e298a67 | ||
|
|
f1f197bcb3 | ||
|
|
d6d156304f | ||
|
|
14621adc0d | ||
|
|
e635ba6b59 | ||
|
|
85d2314e20 | ||
|
|
a53a3bec10 | ||
|
|
8adcd5fd36 | ||
|
|
7467db95fc | ||
|
|
db1629bce1 | ||
|
|
7285c1973d | ||
|
|
ef06a18b11 | ||
|
|
82707746d3 | ||
|
|
ac3ad2b757 | ||
|
|
f32e93944f | ||
|
|
b6176bfba2 | ||
|
|
87012bced8 | ||
|
|
f07af2a35a | ||
|
|
adff278e59 | ||
|
|
45d47b647d | ||
|
|
2de0ec338c | ||
|
|
a40d991777 | ||
|
|
a1daf9bdf6 | ||
|
|
ef81932c26 | ||
|
|
d49ed98fd7 | ||
|
|
626bf2b598 | ||
|
|
0f85ec3a21 | ||
|
|
cb6775760b | ||
|
|
063696f828 | ||
|
|
71adbbc7f3 | ||
|
|
962968afce | ||
|
|
1f231abe57 | ||
|
|
c4c2404716 | ||
|
|
90385792c8 | ||
|
|
a1d1de0a49 | ||
|
|
2b3a555e9f | ||
|
|
501a620787 | ||
|
|
3afc9f4a09 | ||
|
|
29da4e4882 | ||
|
|
5df824ce3a | ||
|
|
c761f70cbf | ||
|
|
dd1745c9e5 | ||
|
|
513dc55db6 | ||
|
|
00fa9b899a | ||
|
|
11c4eb0873 | ||
|
|
50d66bcba6 | ||
|
|
a1bc1cbf8e | ||
|
|
dd4982554e | ||
|
|
93a55a32ab | ||
|
|
4cf5e410a4 | ||
|
|
db7534df5f | ||
|
|
feb0d41b6b | ||
|
|
97995f5e86 | ||
|
|
63e829fe27 | ||
|
|
60ffe8e903 | ||
|
|
2fb4a0a0d2 | ||
|
|
ea7b4a5287 | ||
|
|
01e460d69e | ||
|
|
df0136b8e0 | ||
|
|
abf8128af3 | ||
|
|
37111dc014 | ||
|
|
2390ba5fac | ||
|
|
af49f98525 | ||
|
|
489e8c837e | ||
|
|
344c56d532 | ||
|
|
73a15c9f14 | ||
|
|
3e24038fba | ||
|
|
8d83062b04 | ||
|
|
41436adde4 | ||
|
|
252b6122a6 | ||
|
|
0cb5680d95 | ||
|
|
d58b0b1188 | ||
|
|
126871f5e8 | ||
|
|
29f154fcc2 | ||
|
|
be0ba20fa6 | ||
|
|
2dc1cf4057 | ||
|
|
eb78c31c65 | ||
|
|
2d2e464981 | ||
|
|
d9e0b59a64 | ||
|
|
5d92bfbb4c | ||
|
|
bb1da66f9d | ||
|
|
30d8b2afa8 | ||
|
|
497e42c14b | ||
|
|
5319c6b53b | ||
|
|
c3ce591722 | ||
|
|
7921cbe15b | ||
|
|
4ba66ea33e | ||
|
|
33d8777af9 | ||
|
|
64f062ec3f | ||
|
|
e23960a38d | ||
|
|
9783bd46c9 | ||
|
|
7672a0e673 | ||
|
|
4288b3aa4d | ||
|
|
4bda0f0beb | ||
|
|
0190867eec | ||
|
|
6c19ea9ed8 | ||
|
|
7756df7b57 | ||
|
|
22a7f0cea1 | ||
|
|
16eb3e00ca | ||
|
|
bfbcd4c912 | ||
|
|
4e42d8309a | ||
|
|
faad480c76 | ||
|
|
3661301375 | ||
|
|
fb8147045b | ||
|
|
bfe156cc0b | ||
|
|
8ac4225a0e | ||
|
|
cc0171f7b6 | ||
|
|
157a06a92d | ||
|
|
2ab198f217 | ||
|
|
ada8fb64b8 | ||
|
|
84f38d0de6 | ||
|
|
0e31b76be8 | ||
|
|
27721801c1 | ||
|
|
63d60675b2 | ||
|
|
137dd249c5 | ||
|
|
07404f6de2 | ||
|
|
6091ca33eb | ||
|
|
0cc4ca5919 | ||
|
|
68bab23e50 | ||
|
|
c54e256d2c | ||
|
|
e9d18d3644 | ||
|
|
664f51821a | ||
|
|
9eb7fe29a4 | ||
|
|
24809a5b8d | ||
|
|
c242976296 | ||
|
|
fe3877185b | ||
|
|
fb82bb101b | ||
|
|
b678b6564c | ||
|
|
a08fd23edf | ||
|
|
bcc7954874 | ||
|
|
e3f3bc084b | ||
|
|
a1e5c9322f | ||
|
|
fb9fef4b11 | ||
|
|
3754b246c8 | ||
|
|
a43923da1b | ||
|
|
ae720400e2 | ||
|
|
b86f1130de | ||
|
|
4c5d2152b8 | ||
|
|
7798454aae | ||
|
|
b8a6381d6a | ||
|
|
4c8943c830 | ||
|
|
a043fafe3d | ||
|
|
ec5067be4d | ||
|
|
643a4d7e46 | ||
|
|
5941d98418 | ||
|
|
6c5049e54a | ||
|
|
56766e3f1f | ||
|
|
6b6d947716 | ||
|
|
938bca634e | ||
|
|
2ed439e02b | ||
|
|
f56547c565 | ||
|
|
2529f1cf0a | ||
|
|
35bb9e5ac7 | ||
|
|
1353282652 | ||
|
|
ff4881996e | ||
|
|
f1b6469e48 | ||
|
|
6f2cc0fc91 | ||
|
|
9bd3b23b3d | ||
|
|
d52f3f6d4b | ||
|
|
d568766fc7 |
@@ -309,6 +309,12 @@
|
||||
githubId = 2321000;
|
||||
name = "Ruslan Babayev";
|
||||
};
|
||||
abustany = {
|
||||
email = "adrien@bustany.org";
|
||||
github = "abustany";
|
||||
githubId = 2526296;
|
||||
name = "Adrien Bustany";
|
||||
};
|
||||
acairncross = {
|
||||
email = "acairncross@gmail.com";
|
||||
github = "acairncross";
|
||||
@@ -2943,7 +2949,7 @@
|
||||
};
|
||||
citadelcore = {
|
||||
email = "alex@arctarus.co.uk";
|
||||
github = "CitadelCore";
|
||||
github = "VertexA115";
|
||||
githubId = 5567402;
|
||||
name = "Alex Zero";
|
||||
keys = [{
|
||||
@@ -4952,6 +4958,12 @@
|
||||
githubId = 2512008;
|
||||
name = "Even Brenden";
|
||||
};
|
||||
evilmav = {
|
||||
email = "elenskiy.ilya@gmail.com";
|
||||
github = "evilmav";
|
||||
githubId = 6803717;
|
||||
name = "Ilya Elenskiy";
|
||||
};
|
||||
evils = {
|
||||
email = "evils.devils@protonmail.com";
|
||||
matrix = "@evils:nixos.dev";
|
||||
@@ -5422,7 +5434,7 @@
|
||||
githubId = 7551358;
|
||||
name = "Frede Emil";
|
||||
};
|
||||
Freed-Wu = {
|
||||
Freed-Wu = {
|
||||
email = "wuzhenyu@ustc.edu";
|
||||
github = "Freed-Wu";
|
||||
githubId = 32936898;
|
||||
@@ -5531,7 +5543,7 @@
|
||||
};
|
||||
fuzen = {
|
||||
email = "me@fuzen.cafe";
|
||||
github = "Fuzen-py";
|
||||
github = "LovingMelody";
|
||||
githubId = 17859309;
|
||||
name = "Fuzen";
|
||||
};
|
||||
@@ -5885,15 +5897,6 @@
|
||||
githubId = 1621335;
|
||||
name = "Andrew Trachenko";
|
||||
};
|
||||
gordias = {
|
||||
name = "Gordias";
|
||||
email = "gordias@disroot.org";
|
||||
github = "gordiasdot";
|
||||
githubId = 94724133;
|
||||
keys = [{
|
||||
fingerprint = "C006 B8A0 0618 F3B6 E0E4 2ECD 5D47 2848 30FA A4FA";
|
||||
}];
|
||||
};
|
||||
gotcha = {
|
||||
email = "gotcha@bubblenet.be";
|
||||
github = "gotcha";
|
||||
@@ -6768,7 +6771,7 @@
|
||||
};
|
||||
ilya-kolpakov = {
|
||||
email = "ilya.kolpakov@gmail.com";
|
||||
github = "ilya-kolpakov";
|
||||
github = "1pakch";
|
||||
githubId = 592849;
|
||||
name = "Ilya Kolpakov";
|
||||
};
|
||||
@@ -7170,7 +7173,7 @@
|
||||
jayesh-bhoot = {
|
||||
name = "Jayesh Bhoot";
|
||||
email = "jb@jayeshbhoot.com";
|
||||
github = "jayeshbhoot";
|
||||
github = "bhootjb";
|
||||
githubId = 1915507;
|
||||
};
|
||||
jayman2000 = {
|
||||
@@ -7655,10 +7658,10 @@
|
||||
name = "Jocelyn Thode";
|
||||
};
|
||||
joedevivo = {
|
||||
github = "joedevivo";
|
||||
githubId = 55951;
|
||||
name = "Joe DeVivo";
|
||||
};
|
||||
github = "joedevivo";
|
||||
githubId = 55951;
|
||||
name = "Joe DeVivo";
|
||||
};
|
||||
joelancaster = {
|
||||
email = "joe.a.lancas@gmail.com";
|
||||
github = "JoeLancaster";
|
||||
@@ -7988,7 +7991,7 @@
|
||||
};
|
||||
juaningan = {
|
||||
email = "juaningan@gmail.com";
|
||||
github = "uningan";
|
||||
github = "oneingan";
|
||||
githubId = 810075;
|
||||
name = "Juan Rodal";
|
||||
};
|
||||
@@ -8951,7 +8954,7 @@
|
||||
github = "leifhelm";
|
||||
githubId = 31693262;
|
||||
name = "Jakob Leifhelm";
|
||||
keys =[{
|
||||
keys = [{
|
||||
fingerprint = "4A82 F68D AC07 9FFD 8BF0 89C4 6817 AA02 3810 0822";
|
||||
}];
|
||||
};
|
||||
@@ -10008,7 +10011,7 @@
|
||||
githubId = 95194;
|
||||
name = "Mauricio Scheffer";
|
||||
};
|
||||
maxbrunet = {
|
||||
maxbrunet = {
|
||||
email = "max@brnt.mx";
|
||||
github = "maxbrunet";
|
||||
githubId = 32458727;
|
||||
@@ -10380,7 +10383,7 @@
|
||||
name = "Michael Pacheco";
|
||||
github = "MichaelPachec0";
|
||||
githubId = 48970112;
|
||||
keys = [ {
|
||||
keys = [{
|
||||
fingerprint = "8D12 991F 5558 C501 70B2 779C 7811 46B0 B5F9 5F64";
|
||||
}];
|
||||
};
|
||||
@@ -11977,6 +11980,15 @@
|
||||
github = "ony";
|
||||
githubId = 11265;
|
||||
};
|
||||
ooliver1 = {
|
||||
name = "Oliver Wilkes";
|
||||
email = "oliverwilkes2006@icloud.com";
|
||||
github = "ooliver1";
|
||||
githubId = 34910574;
|
||||
keys = [{
|
||||
fingerprint = "D055 8A23 3947 B7A0 F966 B07F 0B41 0348 9833 7273";
|
||||
}];
|
||||
};
|
||||
opeik = {
|
||||
email = "sandro@stikic.com";
|
||||
github = "opeik";
|
||||
@@ -17000,16 +17012,6 @@
|
||||
github = "wdavidw";
|
||||
githubId = 46896;
|
||||
};
|
||||
WeebSorceress = {
|
||||
name = "WeebSorceress";
|
||||
email = "hello@weebsorceress.anonaddy.me";
|
||||
matrix = "@weebsorceress:matrix.org";
|
||||
github = "WeebSorceress";
|
||||
githubId = 106774777;
|
||||
keys = [{
|
||||
fingerprint = "659A 9BC3 F904 EC24 1461 2EFE 7F57 3443 17F0 FA43";
|
||||
}];
|
||||
};
|
||||
wegank = {
|
||||
name = "Weijia Wang";
|
||||
email = "contact@weijia.wang";
|
||||
|
||||
@@ -42,7 +42,7 @@ while(my($k, $v) = each %$maintainers_json) {
|
||||
}
|
||||
my $resp_json = from_json($resp->content);
|
||||
my $api_user = %$resp_json{"login"};
|
||||
if ($current_user ne $api_user) {
|
||||
if (lc($current_user) ne lc($api_user)) {
|
||||
print $current_user . " is now known on github as " . $api_user . ". Editing maintainer-list.nix…\n";
|
||||
my $file = path($maintainers_list_nix);
|
||||
my $data = $file->slurp_utf8;
|
||||
|
||||
@@ -356,6 +356,8 @@ In addition to numerous new and updated packages, this release has the following
|
||||
|
||||
- Only `k3s` version 1.26 is included. Users of the `k3s_1_24` or `k3s_1_25` packages should upgrade to use the `1.26` version of the package.
|
||||
|
||||
- The `nerdfonts` package has been updated to major version 3, which includes potential [breaking changes](https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.0.0).
|
||||
|
||||
## Other Notable Changes {#sec-release-23.05-notable-changes}
|
||||
|
||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
## Backward Incompatibilities {#sec-release-23.11-incompatibilities}
|
||||
|
||||
- `writeTextFile` now requires `executable` to be boolean, values like `null` or `""` will now fail to evaluate.
|
||||
|
||||
- The latest version of `clonehero` now stores custom content in `~/.clonehero`. See the [migration instructions](https://clonehero.net/2022/11/29/v23-to-v1-migration-instructions.html). Typically, these content files would exist along side the binary, but the previous build used a wrapper script that would store them in `~/.config/unity3d/srylain Inc_/Clone Hero`.
|
||||
|
||||
- `python3.pkgs.fetchPypi` (and `python3Packages.fetchPypi`) has been deprecated in favor of top-level `fetchPypi`.
|
||||
@@ -26,6 +28,10 @@
|
||||
|
||||
- `util-linux` is now supported on Darwin and is no longer an alias to `unixtools`. Use the `unixtools.util-linux` package for access to the Apple variants of the utilities.
|
||||
|
||||
- `fileSystems.<name>.autoFormat` now uses `systemd-makefs`, which does not accept formatting options. Therefore, `fileSystems.<name>.formatOptions` has been removed.
|
||||
|
||||
- `fileSystems.<name>.autoResize` now uses `systemd-growfs` to resize the file system online in stage 2. This means that `f2fs` and `ext2` can no longer be auto resized, while `xfs` and `btrfs` now can be.
|
||||
|
||||
## Other Notable Changes {#sec-release-23.11-notable-changes}
|
||||
|
||||
- The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove `xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];` from your NixOS configuration.
|
||||
|
||||
@@ -9,9 +9,6 @@ let
|
||||
gitIni = pkgs.formats.gitIni { listsAsDuplicateKeys = true; };
|
||||
iniAtom = elemAt gitIni.type/*attrsOf*/.functor.wrapped/*attrsOf*/.functor.wrapped/*either*/.functor.wrapped 0;
|
||||
|
||||
useSpamAssassin = cfg.settings.publicinboxmda.spamcheck == "spamc" ||
|
||||
cfg.settings.publicinboxwatch.spamcheck == "spamc";
|
||||
|
||||
publicInboxDaemonOptions = proto: defaultPort: {
|
||||
args = mkOption {
|
||||
type = with types; listOf str;
|
||||
@@ -258,12 +255,6 @@ in
|
||||
nntp = {
|
||||
enable = mkEnableOption (lib.mdDoc "the public-inbox NNTP server");
|
||||
} // publicInboxDaemonOptions "nntp" 563;
|
||||
spamAssassinRules = mkOption {
|
||||
type = with types; nullOr path;
|
||||
default = "${cfg.package.sa_config}/user/.spamassassin/user_prefs";
|
||||
defaultText = literalExpression "\${cfg.package.sa_config}/user/.spamassassin/user_prefs";
|
||||
description = lib.mdDoc "SpamAssassin configuration specific to public-inbox.";
|
||||
};
|
||||
settings = mkOption {
|
||||
description = lib.mdDoc ''
|
||||
Settings for the [public-inbox config file](https://public-inbox.org/public-inbox-config.html).
|
||||
@@ -275,9 +266,8 @@ in
|
||||
default = {};
|
||||
description = lib.mdDoc "public inboxes";
|
||||
type = types.submodule {
|
||||
# Keeping in line with the tradition of unnecessarily specific types, allow users to set
|
||||
# freeform settings either globally under the `publicinbox` section, or for specific
|
||||
# inboxes through additional nesting.
|
||||
# Support both global options like `services.public-inbox.settings.publicinbox.imapserver`
|
||||
# and inbox specific options like `services.public-inbox.settings.publicinbox.foo.address`.
|
||||
freeformType = with types; attrsOf (oneOf [ iniAtom (attrsOf iniAtom) ]);
|
||||
|
||||
options.css = mkOption {
|
||||
@@ -285,12 +275,24 @@ in
|
||||
default = [];
|
||||
description = lib.mdDoc "The local path name of a CSS file for the PSGI web interface.";
|
||||
};
|
||||
options.imapserver = mkOption {
|
||||
type = with types; listOf str;
|
||||
default = [];
|
||||
example = [ "imap.public-inbox.org" ];
|
||||
description = lib.mdDoc "IMAP URLs to this public-inbox instance";
|
||||
};
|
||||
options.nntpserver = mkOption {
|
||||
type = with types; listOf str;
|
||||
default = [];
|
||||
example = [ "nntp://news.public-inbox.org" "nntps://news.public-inbox.org" ];
|
||||
description = lib.mdDoc "NNTP URLs to this public-inbox instance";
|
||||
};
|
||||
options.pop3server = mkOption {
|
||||
type = with types; listOf str;
|
||||
default = [];
|
||||
example = [ "pop.public-inbox.org" ];
|
||||
description = lib.mdDoc "POP3 URLs to this public-inbox instance";
|
||||
};
|
||||
options.wwwlisting = mkOption {
|
||||
type = with types; enum [ "all" "404" "match=domain" ];
|
||||
default = "404";
|
||||
@@ -306,7 +308,7 @@ in
|
||||
default = "none";
|
||||
description = lib.mdDoc ''
|
||||
If set to spamc, {manpage}`public-inbox-watch(1)` will filter spam
|
||||
using SpamAssassin.
|
||||
using SpamAssassin. This is currently not working in NixOS.
|
||||
'';
|
||||
};
|
||||
options.publicinboxwatch.spamcheck = mkOption {
|
||||
@@ -314,7 +316,7 @@ in
|
||||
default = "none";
|
||||
description = lib.mdDoc ''
|
||||
If set to spamc, {manpage}`public-inbox-watch(1)` will filter spam
|
||||
using SpamAssassin.
|
||||
using SpamAssassin. This is currently not working in NixOS.
|
||||
'';
|
||||
};
|
||||
options.publicinboxwatch.watchspam = mkOption {
|
||||
@@ -346,25 +348,6 @@ in
|
||||
openFirewall = mkEnableOption (lib.mdDoc "opening the firewall when using a port option");
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
assertions = [
|
||||
{ assertion = config.services.spamassassin.enable || !useSpamAssassin;
|
||||
message = ''
|
||||
public-inbox is configured to use SpamAssassin, but
|
||||
services.spamassassin.enable is false. If you don't need
|
||||
spam checking, set `services.public-inbox.settings.publicinboxmda.spamcheck' and
|
||||
`services.public-inbox.settings.publicinboxwatch.spamcheck' to null.
|
||||
'';
|
||||
}
|
||||
{ assertion = cfg.path != [] || !useSpamAssassin;
|
||||
message = ''
|
||||
public-inbox is configured to use SpamAssassin, but there is
|
||||
no spamc executable in services.public-inbox.path. If you
|
||||
don't need spam checking, set
|
||||
`services.public-inbox.settings.publicinboxmda.spamcheck' and
|
||||
`services.public-inbox.settings.publicinboxwatch.spamcheck' to null.
|
||||
'';
|
||||
}
|
||||
];
|
||||
services.public-inbox.settings =
|
||||
filterAttrsRecursive (n: v: v != null) {
|
||||
publicinbox = mapAttrs (n: filterAttrs (n: v: n != "description")) cfg.inboxes;
|
||||
@@ -503,8 +486,7 @@ in
|
||||
{ public-inbox-watch = mkMerge [(serviceConfig "watch") {
|
||||
inherit (cfg) path;
|
||||
wants = [ "public-inbox-init.service" ];
|
||||
requires = [ "public-inbox-init.service" ] ++
|
||||
optional (cfg.settings.publicinboxwatch.spamcheck == "spamc") "spamassassin.service";
|
||||
requires = [ "public-inbox-init.service" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${cfg.package}/bin/public-inbox-watch";
|
||||
@@ -522,11 +504,6 @@ in
|
||||
script = ''
|
||||
set -ux
|
||||
install -D -p ${PI_CONFIG} ${stateDir}/.public-inbox/config
|
||||
'' + optionalString useSpamAssassin ''
|
||||
install -m 0700 -o spamd -d ${stateDir}/.spamassassin
|
||||
${optionalString (cfg.spamAssassinRules != null) ''
|
||||
ln -sf ${cfg.spamAssassinRules} ${stateDir}/.spamassassin/user_prefs
|
||||
''}
|
||||
'' + concatStrings (mapAttrsToList (name: inbox: ''
|
||||
if [ ! -e ${stateDir}/inboxes/${escapeShellArg name} ]; then
|
||||
# public-inbox-init creates an inbox and adds it to a config file.
|
||||
|
||||
@@ -1231,7 +1231,7 @@ in {
|
||||
services.dockerRegistry = optionalAttrs cfg.registry.enable {
|
||||
enable = true;
|
||||
enableDelete = true; # This must be true, otherwise GitLab won't manage it correctly
|
||||
package = cfg.package;
|
||||
package = cfg.registry.package;
|
||||
extraConfig = {
|
||||
auth.token = {
|
||||
realm = "http${optionalString (cfg.https == true) "s"}://${cfg.host}/jwt/auth";
|
||||
|
||||
@@ -48,6 +48,11 @@ let
|
||||
''
|
||||
else
|
||||
cfg.staticConfigFile;
|
||||
|
||||
finalStaticConfigFile =
|
||||
if cfg.environmentFiles == []
|
||||
then staticConfigFile
|
||||
else "/run/traefik/config.toml";
|
||||
in {
|
||||
options.services.traefik = {
|
||||
enable = mkEnableOption (lib.mdDoc "Traefik web server");
|
||||
@@ -127,6 +132,16 @@ in {
|
||||
type = types.package;
|
||||
description = lib.mdDoc "Traefik package to use.";
|
||||
};
|
||||
|
||||
environmentFiles = mkOption {
|
||||
default = [];
|
||||
type = types.listOf types.path;
|
||||
example = [ "/run/secrets/traefik.env" ];
|
||||
description = lib.mdDoc ''
|
||||
Files to load as environment file. Environment variables from this file
|
||||
will be substituted into the static configuration file using envsubst.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
@@ -139,8 +154,13 @@ in {
|
||||
startLimitIntervalSec = 86400;
|
||||
startLimitBurst = 5;
|
||||
serviceConfig = {
|
||||
ExecStart =
|
||||
"${cfg.package}/bin/traefik --configfile=${staticConfigFile}";
|
||||
EnvironmentFile = cfg.environmentFiles;
|
||||
ExecStartPre = lib.optional (cfg.environmentFiles != [])
|
||||
(pkgs.writeShellScript "pre-start" ''
|
||||
umask 077
|
||||
${pkgs.envsubst}/bin/envsubst -i "${staticConfigFile}" > "${finalStaticConfigFile}"
|
||||
'');
|
||||
ExecStart = "${cfg.package}/bin/traefik --configfile=${finalStaticConfigFile}";
|
||||
Type = "simple";
|
||||
User = "traefik";
|
||||
Group = cfg.group;
|
||||
@@ -155,6 +175,7 @@ in {
|
||||
ProtectHome = true;
|
||||
ProtectSystem = "full";
|
||||
ReadWriteDirectories = cfg.dataDir;
|
||||
RuntimeDirectory = "traefik";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -374,22 +374,6 @@ mountFS() {
|
||||
|
||||
checkFS "$device" "$fsType"
|
||||
|
||||
# Optionally resize the filesystem.
|
||||
case $options in
|
||||
*x-nixos.autoresize*)
|
||||
if [ "$fsType" = ext2 -o "$fsType" = ext3 -o "$fsType" = ext4 ]; then
|
||||
modprobe "$fsType"
|
||||
echo "resizing $device..."
|
||||
e2fsck -fp "$device"
|
||||
resize2fs "$device"
|
||||
elif [ "$fsType" = f2fs ]; then
|
||||
echo "resizing $device..."
|
||||
fsck.f2fs -fp "$device"
|
||||
resize.f2fs "$device"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Create backing directories for overlayfs
|
||||
if [ "$fsType" = overlay ]; then
|
||||
for i in upper work; do
|
||||
|
||||
@@ -150,12 +150,6 @@ let
|
||||
copy_bin_and_libs ${pkgs.kmod}/bin/kmod
|
||||
ln -sf kmod $out/bin/modprobe
|
||||
|
||||
# Copy resize2fs if any ext* filesystems are to be resized
|
||||
${optionalString (any (fs: fs.autoResize && (lib.hasPrefix "ext" fs.fsType)) fileSystems) ''
|
||||
# We need mke2fs in the initrd.
|
||||
copy_bin_and_libs ${pkgs.e2fsprogs}/sbin/resize2fs
|
||||
''}
|
||||
|
||||
# Copy multipath.
|
||||
${optionalString config.services.multipath.enable ''
|
||||
copy_bin_and_libs ${config.services.multipath.package}/bin/multipath
|
||||
|
||||
@@ -588,6 +588,15 @@ in
|
||||
systemd.services."systemd-backlight@".restartIfChanged = false;
|
||||
systemd.services."systemd-fsck@".restartIfChanged = false;
|
||||
systemd.services."systemd-fsck@".path = [ config.system.path ];
|
||||
systemd.services."systemd-makefs@" = {
|
||||
restartIfChanged = false;
|
||||
path = [ pkgs.util-linux ] ++ config.system.fsPackages;
|
||||
# Since there is no /etc/systemd/system/systemd-makefs@.service
|
||||
# file, the units generated in /run/systemd/generator would
|
||||
# override anything we put here. But by forcing the use of a
|
||||
# drop-in in /etc, it does apply.
|
||||
overrideStrategy = "asDropin";
|
||||
};
|
||||
systemd.services.systemd-random-seed.restartIfChanged = false;
|
||||
systemd.services.systemd-remount-fs.restartIfChanged = false;
|
||||
systemd.services.systemd-update-utmp.restartIfChanged = false;
|
||||
|
||||
@@ -56,7 +56,6 @@ let
|
||||
"systemd-ask-password-console.path"
|
||||
"systemd-ask-password-console.service"
|
||||
"systemd-fsck@.service"
|
||||
"systemd-growfs@.service"
|
||||
"systemd-halt.service"
|
||||
"systemd-hibernate-resume@.service"
|
||||
"systemd-journald-audit.socket"
|
||||
@@ -93,7 +92,6 @@ let
|
||||
fileSystems = filter utils.fsNeededForBoot config.system.build.fileSystems;
|
||||
|
||||
needMakefs = lib.any (fs: fs.autoFormat) fileSystems;
|
||||
needGrowfs = lib.any (fs: fs.autoResize) fileSystems;
|
||||
|
||||
kernel-name = config.boot.kernelPackages.kernel.name or "kernel";
|
||||
modulesTree = config.system.modulesTree.override { name = kernel-name + "-modules"; };
|
||||
@@ -400,7 +398,6 @@ in {
|
||||
storePaths = [
|
||||
# systemd tooling
|
||||
"${cfg.package}/lib/systemd/systemd-fsck"
|
||||
(lib.mkIf needGrowfs "${cfg.package}/lib/systemd/systemd-growfs")
|
||||
"${cfg.package}/lib/systemd/systemd-hibernate-resume"
|
||||
"${cfg.package}/lib/systemd/systemd-journald"
|
||||
(lib.mkIf needMakefs "${cfg.package}/lib/systemd/systemd-makefs")
|
||||
|
||||
@@ -112,12 +112,9 @@ let
|
||||
};
|
||||
|
||||
formatOptions = mkOption {
|
||||
default = "";
|
||||
type = types.str;
|
||||
description = lib.mdDoc ''
|
||||
If {option}`autoFormat` option is set specifies
|
||||
extra options passed to mkfs.
|
||||
'';
|
||||
visible = false;
|
||||
type = types.unspecified;
|
||||
default = null;
|
||||
};
|
||||
|
||||
autoResize = mkOption {
|
||||
@@ -139,22 +136,11 @@ let
|
||||
|
||||
};
|
||||
|
||||
config = let
|
||||
defaultFormatOptions =
|
||||
# -F needed to allow bare block device without partitions
|
||||
if (builtins.substring 0 3 config.fsType) == "ext" then "-F"
|
||||
# -q needed for non-interactive operations
|
||||
else if config.fsType == "jfs" then "-q"
|
||||
# (same here)
|
||||
else if config.fsType == "reiserfs" then "-q"
|
||||
else null;
|
||||
in {
|
||||
options = mkMerge [
|
||||
(mkIf config.autoResize [ "x-nixos.autoresize" ])
|
||||
(mkIf (utils.fsNeededForBoot config) [ "x-initrd.mount" ])
|
||||
];
|
||||
formatOptions = mkIf (defaultFormatOptions != null) (mkDefault defaultFormatOptions);
|
||||
};
|
||||
config.options = mkMerge [
|
||||
(mkIf config.autoResize [ "x-systemd.growfs" ])
|
||||
(mkIf config.autoFormat [ "x-systemd.makefs" ])
|
||||
(mkIf (utils.fsNeededForBoot config) [ "x-initrd.mount" ])
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
@@ -201,23 +187,20 @@ let
|
||||
skipCheck = fs: fs.noCheck || fs.device == "none" || builtins.elem fs.fsType fsToSkipCheck || isBindMount fs;
|
||||
# https://wiki.archlinux.org/index.php/fstab#Filepath_spaces
|
||||
escape = string: builtins.replaceStrings [ " " "\t" ] [ "\\040" "\\011" ] string;
|
||||
in fstabFileSystems: { rootPrefix ? "", extraOpts ? (fs: []) }: concatMapStrings (fs:
|
||||
in fstabFileSystems: { rootPrefix ? "" }: concatMapStrings (fs:
|
||||
(optionalString (isBindMount fs) (escape rootPrefix))
|
||||
+ (if fs.device != null then escape fs.device
|
||||
else if fs.label != null then "/dev/disk/by-label/${escape fs.label}"
|
||||
else throw "No device specified for mount point ‘${fs.mountPoint}’.")
|
||||
+ " " + escape fs.mountPoint
|
||||
+ " " + fs.fsType
|
||||
+ " " + escape (builtins.concatStringsSep "," (fs.options ++ (extraOpts fs)))
|
||||
+ " " + escape (builtins.concatStringsSep "," fs.options)
|
||||
+ " 0 " + (if skipCheck fs then "0" else if fs.mountPoint == "/" then "1" else "2")
|
||||
+ "\n"
|
||||
) fstabFileSystems;
|
||||
|
||||
initrdFstab = pkgs.writeText "initrd-fstab" (makeFstabEntries (filter utils.fsNeededForBoot fileSystems) {
|
||||
rootPrefix = "/sysroot";
|
||||
extraOpts = fs:
|
||||
(optional fs.autoResize "x-systemd.growfs")
|
||||
++ (optional fs.autoFormat "x-systemd.makefs");
|
||||
});
|
||||
|
||||
in
|
||||
@@ -319,7 +302,13 @@ in
|
||||
|
||||
assertions = let
|
||||
ls = sep: concatMapStringsSep sep (x: x.mountPoint);
|
||||
notAutoResizable = fs: fs.autoResize && !(hasPrefix "ext" fs.fsType || fs.fsType == "f2fs");
|
||||
resizableFSes = [
|
||||
"ext3"
|
||||
"ext4"
|
||||
"btrfs"
|
||||
"xfs"
|
||||
];
|
||||
notAutoResizable = fs: fs.autoResize && !(builtins.elem fs.fsType resizableFSes);
|
||||
in [
|
||||
{ assertion = ! (fileSystems' ? cycle);
|
||||
message = "The ‘fileSystems’ option can't be topologically sorted: mountpoint dependency path ${ls " -> " fileSystems'.cycle} loops to ${ls ", " fileSystems'.loops}";
|
||||
@@ -327,8 +316,21 @@ in
|
||||
{ assertion = ! (any notAutoResizable fileSystems);
|
||||
message = let
|
||||
fs = head (filter notAutoResizable fileSystems);
|
||||
in
|
||||
"Mountpoint '${fs.mountPoint}': 'autoResize = true' is not supported for 'fsType = \"${fs.fsType}\"':${optionalString (fs.fsType == "auto") " fsType has to be explicitly set and"} only the ext filesystems and f2fs support it.";
|
||||
in ''
|
||||
Mountpoint '${fs.mountPoint}': 'autoResize = true' is not supported for 'fsType = "${fs.fsType}"'
|
||||
${optionalString (fs.fsType == "auto") "fsType has to be explicitly set and"}
|
||||
only the following support it: ${lib.concatStringsSep ", " resizableFSes}.
|
||||
'';
|
||||
}
|
||||
{
|
||||
assertion = ! (any (fs: fs.formatOptions != null) fileSystems);
|
||||
message = let
|
||||
fs = head (filter (fs: fs.formatOptions != null) fileSystems);
|
||||
in ''
|
||||
'fileSystems.<name>.formatOptions' has been removed, since
|
||||
systemd-makefs does not support any way to provide formatting
|
||||
options.
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
@@ -377,37 +379,7 @@ in
|
||||
wants = [ "local-fs.target" "remote-fs.target" ];
|
||||
};
|
||||
|
||||
systemd.services =
|
||||
|
||||
# Emit systemd services to format requested filesystems.
|
||||
let
|
||||
formatDevice = fs:
|
||||
let
|
||||
mountPoint' = "${escapeSystemdPath fs.mountPoint}.mount";
|
||||
device' = escapeSystemdPath fs.device;
|
||||
device'' = "${device'}.device";
|
||||
in nameValuePair "mkfs-${device'}"
|
||||
{ description = "Initialisation of Filesystem ${fs.device}";
|
||||
wantedBy = [ mountPoint' ];
|
||||
before = [ mountPoint' "systemd-fsck@${device'}.service" ];
|
||||
requires = [ device'' ];
|
||||
after = [ device'' ];
|
||||
path = [ pkgs.util-linux ] ++ config.system.fsPackages;
|
||||
script =
|
||||
''
|
||||
if ! [ -e "${fs.device}" ]; then exit 1; fi
|
||||
# FIXME: this is scary. The test could be more robust.
|
||||
type=$(blkid -p -s TYPE -o value "${fs.device}" || true)
|
||||
if [ -z "$type" ]; then
|
||||
echo "creating ${fs.fsType} filesystem on ${fs.device}..."
|
||||
mkfs.${fs.fsType} ${fs.formatOptions} "${fs.device}"
|
||||
fi
|
||||
'';
|
||||
unitConfig.RequiresMountsFor = [ "${dirOf fs.device}" ];
|
||||
unitConfig.DefaultDependencies = false; # needed to prevent a cycle
|
||||
serviceConfig.Type = "oneshot";
|
||||
};
|
||||
in listToAttrs (map formatDevice (filter (fs: fs.autoFormat && !(utils.fsNeededForBoot fs)) fileSystems)) // {
|
||||
systemd.services = {
|
||||
# Mount /sys/fs/pstore for evacuating panic logs and crashdumps from persistent storage onto the disk using systemd-pstore.
|
||||
# This cannot be done with the other special filesystems because the pstore module (which creates the mount point) is not loaded then.
|
||||
"mount-pstore" = {
|
||||
|
||||
@@ -15,11 +15,6 @@ in
|
||||
|
||||
boot.initrd.extraUtilsCommands = mkIf (inInitrd && !config.boot.initrd.systemd.enable) ''
|
||||
copy_bin_and_libs ${pkgs.f2fs-tools}/sbin/fsck.f2fs
|
||||
${optionalString (any (fs: fs.autoResize) fileSystems) ''
|
||||
# We need f2fs-tools' tools to resize filesystems
|
||||
copy_bin_and_libs ${pkgs.f2fs-tools}/sbin/resize.f2fs
|
||||
''}
|
||||
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ import ./make-test-python.nix {
|
||||
else "fsck.ext4.*/dev/vda"}'")
|
||||
|
||||
with subtest("mnt fs is fsckd"):
|
||||
machine.succeed("journalctl -b | grep 'fsck.*/dev/vdb.*clean'")
|
||||
machine.succeed("journalctl -b | grep 'fsck.*vdb.*clean'")
|
||||
machine.succeed(
|
||||
"grep 'Requires=systemd-fsck@dev-vdb.service' /run/systemd/generator/mnt.mount"
|
||||
)
|
||||
|
||||
@@ -14,7 +14,7 @@ in
|
||||
|
||||
meta.maintainers = with pkgs.lib.maintainers; [ julm ];
|
||||
|
||||
machine = { config, pkgs, nodes, ... }: let
|
||||
nodes.machine = { config, pkgs, nodes, ... }: let
|
||||
inherit (config.services) gitolite public-inbox;
|
||||
# Git repositories paths in Gitolite.
|
||||
# Only their baseNameOf is used for configuring public-inbox.
|
||||
@@ -221,7 +221,7 @@ in
|
||||
# Delete a mail.
|
||||
# Note that the use of an extension not listed in the addresses
|
||||
# require to use --all
|
||||
machine.succeed("curl -L https://machine.example.localdomain/inbox/repo1/repo1@root-1/raw | sudo -u public-inbox public-inbox-learn rm --all")
|
||||
machine.fail("curl -L https://machine.example.localdomain/inbox/repo1/repo1@root-1/T/#u | grep 'This is a testing mail.'")
|
||||
machine.succeed("curl -L https://machine.${domain}/inbox/repo1/repo1@root-1/raw | sudo -u public-inbox public-inbox-learn rm --all")
|
||||
machine.fail("curl -L https://machine.${domain}/inbox/repo1/repo1@root-1/T/#u | grep 'This is a testing mail.'")
|
||||
'';
|
||||
})
|
||||
|
||||
@@ -52,10 +52,13 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
sendAnonymousUsage = false;
|
||||
};
|
||||
|
||||
entryPoints.web.address = ":80";
|
||||
entryPoints.web.address = ":\${HTTP_PORT}";
|
||||
|
||||
providers.docker.exposedByDefault = false;
|
||||
};
|
||||
environmentFiles = [(pkgs.writeText "traefik.env" ''
|
||||
HTTP_PORT=80
|
||||
'')];
|
||||
};
|
||||
|
||||
systemd.services.simplehttp = {
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "yoshimi";
|
||||
version = "2.2.3";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Yoshimi";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-zVIOHm84wx6ZFK0seS9fWZfujDz259AXTv7zljbwrUk=";
|
||||
hash = "sha256-rVlwOxp8C/A56JDd6Bzi2smblJVqQWZiFqIP4oRhElM=";
|
||||
};
|
||||
|
||||
sourceRoot = "source/src";
|
||||
|
||||
@@ -30,7 +30,7 @@ appimageTools.wrapType2 rec {
|
||||
description = "App for Ledger hardware wallets";
|
||||
homepage = "https://www.ledger.com/ledger-live/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ andresilva thedavidmeister nyanloutre RaghavSood th0rgal WeebSorceress ];
|
||||
maintainers = with maintainers; [ andresilva thedavidmeister nyanloutre RaghavSood th0rgal ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "stellar-core";
|
||||
version = "19.10.0";
|
||||
version = "19.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stellar";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-BcZsj2TbeJW91aiZ2I7NbDa+rgjfs6lQUsWOnhFQXtw=";
|
||||
sha256 = "sha256-48fEVbK5yswPkTwlfemXB2ieAs2+SIM6dspqOBiRKCU=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
|
||||
# Updating
|
||||
|
||||
To update the list of packages from ELPA,
|
||||
|
||||
1. Run `./update-elpa-devel`.
|
||||
2. Check for evaluation errors:
|
||||
# "../../../../../" points to the default.nix from root of Nixpkgs tree
|
||||
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate ../../../../../ -A emacs.pkgs.elpaDevelPackages
|
||||
3. Run `git commit -m "elpa-devel-packages $(date -Idate)" -- elpa-devel-generated.nix`
|
||||
|
||||
## Update from overlay
|
||||
|
||||
Alternatively, run the following command:
|
||||
|
||||
./update-from-overlay
|
||||
|
||||
It will update both melpa and elpa packages using
|
||||
https://github.com/nix-community/emacs-overlay. It's almost instantenous and
|
||||
formats commits for you.
|
||||
|
||||
*/
|
||||
|
||||
{ lib, stdenv, texinfo, writeText, gcc, pkgs, buildPackages }:
|
||||
|
||||
self: let
|
||||
|
||||
markBroken = pkg: pkg.override {
|
||||
elpaBuild = args: self.elpaBuild (args // {
|
||||
meta = (args.meta or {}) // { broken = true; };
|
||||
});
|
||||
};
|
||||
|
||||
elpaBuild = import ../../../../build-support/emacs/elpa.nix {
|
||||
inherit lib stdenv texinfo writeText gcc;
|
||||
inherit (self) emacs;
|
||||
};
|
||||
|
||||
# Use custom elpa url fetcher with fallback/uncompress
|
||||
fetchurl = buildPackages.callPackage ./fetchelpa.nix { };
|
||||
|
||||
generateElpa = lib.makeOverridable ({
|
||||
generated ? ./elpa-devel-generated.nix
|
||||
}: let
|
||||
|
||||
imported = import generated {
|
||||
callPackage = pkgs: args: self.callPackage pkgs (args // {
|
||||
inherit fetchurl;
|
||||
});
|
||||
};
|
||||
|
||||
super = removeAttrs imported [ "dash" ];
|
||||
|
||||
overrides = {
|
||||
};
|
||||
|
||||
elpaDevelPackages = super // overrides;
|
||||
|
||||
in elpaDevelPackages // { inherit elpaBuild; });
|
||||
|
||||
in generateElpa { }
|
||||
@@ -4,8 +4,8 @@ let
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "nix-community";
|
||||
repo = "emacs2nix";
|
||||
rev = "2e8d2c644397be57455ad32c2849f692eeac7797";
|
||||
sha256 = "sha256-qnOYDYHAQ+r5eegKP9GqHz5R2ig96B2W7M+uYa1ti9M=";
|
||||
rev = "7f07ac3c3f175630de68153d98a93b9fa24d1eb3";
|
||||
sha256 = "sha256-Mh9G8LH3n1ccg+shBoWQRk67yAA+GEYGkk8tjM7W02Y=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
in
|
||||
|
||||
4
pkgs/applications/editors/emacs/elisp-packages/update-elpa-devel
Executable file
4
pkgs/applications/editors/emacs/elisp-packages/update-elpa-devel
Executable file
@@ -0,0 +1,4 @@
|
||||
#! /usr/bin/env nix-shell
|
||||
#! nix-shell --show-trace ./emacs2nix.nix -i bash
|
||||
|
||||
exec elpa-devel-packages.sh --names $EMACS2NIX/names.nix -o elpa-devel-generated.nix
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib, stdenv, fetchurl, makeWrapper, makeDesktopItem, copyDesktopItems, unzip
|
||||
, appimage-run }:
|
||||
, appimage-run, nix-update-script }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ldtk";
|
||||
@@ -47,6 +47,8 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Modern, lightweight and efficient 2D level editor";
|
||||
homepage = "https://ldtk.io/";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, godot-headless, godot-export-templates }:
|
||||
{ lib, stdenv, fetchFromGitHub, godot-headless, godot-export-templates, nix-update-script }:
|
||||
|
||||
let
|
||||
preset =
|
||||
@@ -47,6 +47,8 @@ in stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://orama-interactive.itch.io/pixelorama";
|
||||
description = "A free & open-source 2D sprite editor, made with the Godot Engine!";
|
||||
|
||||
34
pkgs/applications/emulators/blink/default.nix
Normal file
34
pkgs/applications/emulators/blink/default.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ stdenv, fetchFromGitHub, lib }:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "blink";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jart";
|
||||
repo = "blink";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-W7yL7Ut3MRygJhFGr+GIj/CK57MkuDTcenft8IvH7jU=";
|
||||
};
|
||||
|
||||
# 'make check' requires internet connection
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
make test
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Tiniest x86-64-linux emulator";
|
||||
longDescription = ''
|
||||
blink is a virtual machine that runs x86-64-linux programs on different operating systems and hardware architectures. It's designed to do the same thing as the qemu-x86_64 command, except that
|
||||
- blink is much smaller in size than qemu-x86_64
|
||||
- blink will run your Linux binaries on any POSIX platform, whereas qemu-x86_64 only supports Linux
|
||||
- blink goes 2x faster than qemu-x86_64 on some benchmarks, such as SSE integer / floating point math. Blink is also faster at running ephemeral programs such as compilers
|
||||
'';
|
||||
|
||||
homepage = "https://github.com/jart/blink";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = with lib.maintainers; [ t4ccer ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
@@ -73,14 +73,14 @@ let
|
||||
six
|
||||
];
|
||||
in mkDerivation rec {
|
||||
version = "3.28.5";
|
||||
version = "3.28.7";
|
||||
pname = "qgis-ltr-unwrapped";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qgis";
|
||||
repo = "QGIS";
|
||||
rev = "final-${lib.replaceStrings [ "." ] [ "_" ] version}";
|
||||
hash = "sha256-3fQB0oCIZSVEVMZzmeyvw8/Ew+JjzAFnTIsnsklAayI=";
|
||||
hash = "sha256-RWQ3RlE8fPMuDGosxKNVgbjRTigZRolqNyaJoC1xdec=";
|
||||
};
|
||||
|
||||
passthru = {
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cobalt";
|
||||
version = "0.18.4";
|
||||
version = "0.18.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cobalt-org";
|
||||
repo = "cobalt.rs";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-O7qFpp7Xr6K82o/KUMP0J5y2B32op+QBGUXo9Q5R5LQ=";
|
||||
sha256 = "sha256-Y1rWKoh4cjLOvBJy4bXIHsvGtLmTu9n0aqf6PdflH6E=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-ZBAF4BqQ+JMZ3Rpg2RxUhhVvPE5pN68qljVl0o2/VNA=";
|
||||
cargoHash = "sha256-r0nxsDcdXNiZn9dVMTOAxlI/kd0nZFh7JvB2JYDR2aw=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
|
||||
47
pkgs/applications/misc/comodoro/default.nix
Normal file
47
pkgs/applications/misc/comodoro/default.nix
Normal file
@@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, installShellFiles
|
||||
, installShellCompletions ? stdenv.hostPlatform == stdenv.buildPlatform
|
||||
, installManPages ? stdenv.hostPlatform == stdenv.buildPlatform
|
||||
, withTcp ? true
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "comodoro";
|
||||
version = "0.0.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "soywod";
|
||||
repo = "comodoro";
|
||||
rev = "v${version}";
|
||||
sha256 = "rGnVXyfWJkPHfpf1gRGbDJ6Y1ycKOOcCZ+Jx35fUo6M=";
|
||||
};
|
||||
|
||||
cargoSha256 = "jpshuavywCLN03xD/gFgQeGbKtmHq5pULbxd+RUbaDk=";
|
||||
|
||||
nativeBuildInputs = lib.optional (installManPages || installShellCompletions) installShellFiles;
|
||||
|
||||
buildNoDefaultFeatures = true;
|
||||
buildFeatures = lib.optional withTcp "tcp";
|
||||
|
||||
postInstall = lib.optionalString installManPages ''
|
||||
mkdir -p $out/man
|
||||
$out/bin/comodoro man $out/man
|
||||
installManPage $out/man/*
|
||||
'' + lib.optionalString installShellCompletions ''
|
||||
installShellCompletion --cmd comodoro \
|
||||
--bash <($out/bin/comodoro completion bash) \
|
||||
--fish <($out/bin/comodoro completion fish) \
|
||||
--zsh <($out/bin/comodoro completion zsh)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI to manage your time.";
|
||||
homepage = "https://pimalaya.org/comodoro/";
|
||||
changelog = "https://github.com/soywod/comodoro/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ soywod ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchFromGitHub, makeWrapper, cmake, ninja, pkg-config, m4, bash
|
||||
, xdg-utils, zip, unzip, gzip, bzip2, gnutar, p7zip, xz
|
||||
, IOKit, Carbon, Cocoa, AudioToolbox, OpenGL
|
||||
, IOKit, Carbon, Cocoa, AudioToolbox, OpenGL, System
|
||||
, withTTYX ? true, libX11
|
||||
, withGUI ? true, wxGTK32
|
||||
, withUCD ? true, libuchardet
|
||||
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optionals withNetRocks [ openssl libssh libnfs neon ]
|
||||
++ lib.optional (withNetRocks && !stdenv.isDarwin) samba # broken on darwin
|
||||
++ lib.optionals withPython (with python3Packages; [ python cffi debugpy pcpp ])
|
||||
++ lib.optionals stdenv.isDarwin [ IOKit Carbon Cocoa AudioToolbox OpenGL ];
|
||||
++ lib.optionals stdenv.isDarwin [ IOKit Carbon Cocoa AudioToolbox OpenGL System ];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs python/src/prebuild.sh
|
||||
@@ -43,9 +43,6 @@ stdenv.mkDerivation rec {
|
||||
--replace '"/bin/bash"' '"${bash}/bin/bash"'
|
||||
substituteInPlace far2l/src/cfg/config.cpp \
|
||||
--replace '"/bin/bash"' '"${bash}/bin/bash"'
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace WinPort/src/Backend/WX/CMakeLists.txt \
|
||||
--replace "-framework System" -lSystem
|
||||
'';
|
||||
|
||||
cmakeFlags = lib.mapAttrsToList (k: v: "-D${k}=${if v then "yes" else "no"}") {
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mob";
|
||||
version = "4.4.2";
|
||||
version = "4.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "remotemobprogramming";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-muKlzOrqtegy35QcGJvwYqIJ9XZsaAvyofsrWPqCi7k=";
|
||||
sha256 = "sha256-XWXoY/e/xceO3sOGvA2hrdvbdb8nomMg7AGUW090I74=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{ lib, fetchFromGitHub }:
|
||||
rec {
|
||||
version = "1.4.9";
|
||||
version = "1.4.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TandoorRecipes";
|
||||
repo = "recipes";
|
||||
rev = version;
|
||||
sha256 = "sha256-h424lUm/wmCHXkMW2XejogvH3wL/+J67cG4m8rIWM1U=";
|
||||
sha256 = "sha256-ZGPXcpicDYCE+J9mC2Dk/Ds2NYfUETuKXqHxpAGH86w=";
|
||||
};
|
||||
|
||||
yarnSha256 = "sha256-LJ0uL66tcK6zL8Mkd2UB8dHsslMTtf8wQmgbZdvOT6s=";
|
||||
|
||||
@@ -42,12 +42,6 @@ python.pkgs.pythonPackages.buildPythonPackage rec {
|
||||
patches = [
|
||||
# Allow setting MEDIA_ROOT through environment variable
|
||||
./media-root.patch
|
||||
# Address CVE-2023-31047 on Django 4.2.1+
|
||||
(fetchpatch {
|
||||
name = "fix-multiple-file-field";
|
||||
url = "https://github.com/TandoorRecipes/recipes/pull/2458/commits/6b04c922977317354a367487427b15a8ed619be9.patch";
|
||||
hash = "sha256-KmfjJSrB/4tOWtU7zrDJ/AOG4XlmWy/halw8IEEXdZ0=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "ttyper";
|
||||
version = "1.2.0";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "max-niederman";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-puChbaLjpm5FmpYIrb+3eKO9BSFu99R5j4ymKH5359Y=";
|
||||
sha256 = "sha256-1frm41Vbo4t1BELq0rNGb1hY7RQLt8IJaEhtyNfNNdU=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-DKpZQZgMR+gbcxxAD8ru5O4o7vr6n4seBVqor3HrYtY=";
|
||||
cargoSha256 = "sha256-UyO8oX54qVQA7nFx6Y/cSgb33Cz3M0kFeiYqUrSbCe0=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Terminal-based typing test";
|
||||
|
||||
@@ -19,22 +19,9 @@
|
||||
}
|
||||
},
|
||||
"beta": {
|
||||
"version": "114.0.5735.45",
|
||||
"sha256": "1z7z4mq3yw9i17xprza3v33wx28zpk7s3g8xcgapdydw0rgxz30v",
|
||||
"sha256bin64": "1387x7mab2sh3wg39z48gl8fjhq39jllbcgzic8rdzpbhlcgs7br",
|
||||
"deps": {
|
||||
"gn": {
|
||||
"version": "2023-04-19",
|
||||
"url": "https://gn.googlesource.com/gn",
|
||||
"rev": "5a004f9427a050c6c393c07ddb85cba8ff3849fa",
|
||||
"sha256": "01xrh9m9m6x8lz0vxwdw2mrhrvnw93zpg09hwdhqakj06agf4jjk"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dev": {
|
||||
"version": "115.0.5790.3",
|
||||
"sha256": "1haai0jabghwl37k929138s4l6izmifssdvn2wgsig9jhiihxz29",
|
||||
"sha256bin64": "12avl8ilvhmlvbag045yhnx0bbbsyx5d3jqh5af07pmbcxksgf96",
|
||||
"version": "115.0.5790.13",
|
||||
"sha256": "0ias5jn8lwpds3gsmjps0rlks58ln5znwx52h767f8mc9y24fagx",
|
||||
"sha256bin64": "11v374p82k8xbak37c377km9y2hvy8avw6mjl9az5kzb2am3g566",
|
||||
"deps": {
|
||||
"gn": {
|
||||
"version": "2023-05-19",
|
||||
@@ -44,6 +31,19 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dev": {
|
||||
"version": "116.0.5803.2",
|
||||
"sha256": "0s3l0wvbvy0wcwxipbl9vlbp1441yfj8ylrwhlh7gy898ajl9q0j",
|
||||
"sha256bin64": "0qgp0m67bpaali7w6bxy1jzw0aig4iiqqgg023k1q32712s192cs",
|
||||
"deps": {
|
||||
"gn": {
|
||||
"version": "2023-05-26",
|
||||
"url": "https://gn.googlesource.com/gn",
|
||||
"rev": "e3978de3e8dafb50a2b11efa784e08699a43faf8",
|
||||
"sha256": "17hwbcxmqsq3yfnafl4bbysdkk957mvqsn34iipzb61gyjbj7i6j"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ungoogled-chromium": {
|
||||
"version": "113.0.5672.126",
|
||||
"sha256": "14rdvidabbh0abp932m747iribvpfcha8hhxh9spck9hjkaprvqd",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
, makeWrapper
|
||||
, writeText
|
||||
, wrapGAppsHook
|
||||
, callPackage
|
||||
|
||||
# Common run-time dependencies
|
||||
, zlib
|
||||
@@ -79,7 +80,7 @@ let
|
||||
|
||||
version = "12.0.6";
|
||||
|
||||
srcs = {
|
||||
sources = {
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://cdn.mullvad.net/browser/${version}/mullvad-browser-linux64-${version}_ALL.tar.xz";
|
||||
hash = "sha256-XE6HFU38FhnikxGHRHxIGS3Z3Y2JNWH0yq2NejqbROI=";
|
||||
@@ -103,7 +104,7 @@ stdenv.mkDerivation rec {
|
||||
pname = "mullvad-browser";
|
||||
inherit version;
|
||||
|
||||
src = srcs.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}");
|
||||
src = sources.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}");
|
||||
|
||||
nativeBuildInputs = [ copyDesktopItems makeWrapper wrapGAppsHook ];
|
||||
|
||||
@@ -219,10 +220,19 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
inherit sources;
|
||||
updateScript = callPackage ../tor-browser-bundle-bin/update.nix {
|
||||
inherit pname version meta;
|
||||
baseUrl = "https://cdn.mullvad.net/browser/";
|
||||
prefix = "mullvad-browser-";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Privacy-focused browser made in a collaboration between The Tor Project and Mullvad";
|
||||
homepage = "https://mullvad.net/en/browser";
|
||||
platforms = attrNames srcs;
|
||||
platforms = attrNames sources;
|
||||
maintainers = with maintainers; [ felschr ];
|
||||
# MPL2.0+, GPL+, &c. While it's not entirely clear whether
|
||||
# the compound is "libre" in a strict sense (some components place certain
|
||||
|
||||
@@ -51,11 +51,11 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "opera";
|
||||
version = "98.0.4759.39";
|
||||
version = "99.0.4788.31";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${mirror}/${version}/linux/${pname}-stable_${version}_amd64.deb";
|
||||
hash = "sha256-3HVgEOscds+VBn9ajmkRnPdqNi9lLItJrb3uRH6L96Q=";
|
||||
hash = "sha256-73A47Yl454ZyOkglLvnp10zjoE1bf8v5tm4Rng3UBac=";
|
||||
};
|
||||
|
||||
unpackPhase = "dpkg-deb -x $src .";
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
, fetchurl
|
||||
, makeDesktopItem
|
||||
, writeText
|
||||
, callPackage
|
||||
|
||||
# Common run-time dependencies
|
||||
, zlib
|
||||
@@ -92,7 +93,7 @@ let
|
||||
|
||||
lang = "ALL";
|
||||
|
||||
srcs = {
|
||||
sources = {
|
||||
x86_64-linux = fetchurl {
|
||||
urls = [
|
||||
"https://dist.torproject.org/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz"
|
||||
@@ -131,7 +132,7 @@ stdenv.mkDerivation rec {
|
||||
pname = "tor-browser-bundle-bin";
|
||||
inherit version;
|
||||
|
||||
src = srcs.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}");
|
||||
src = sources.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}");
|
||||
|
||||
preferLocalBuild = true;
|
||||
allowSubstitutes = false;
|
||||
@@ -447,6 +448,13 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
inherit sources;
|
||||
updateScript = callPackage ./update.nix {
|
||||
inherit pname version meta;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tor Browser Bundle built by torproject.org";
|
||||
longDescription = ''
|
||||
@@ -460,7 +468,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
homepage = "https://www.torproject.org/";
|
||||
changelog = "https://gitweb.torproject.org/builders/tor-browser-build.git/plain/projects/tor-browser/Bundle-Data/Docs/ChangeLog.txt?h=maint-${version}";
|
||||
platforms = attrNames srcs;
|
||||
platforms = attrNames sources;
|
||||
maintainers = with maintainers; [ offline matejc thoughtpolice joachifm hax404 KarlJoad ];
|
||||
mainProgram = "tor-browser";
|
||||
# MPL2.0+, GPL+, &c. While it's not entirely clear whether
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
{ lib
|
||||
, writeShellScript
|
||||
, coreutils
|
||||
, gnused
|
||||
, gnugrep
|
||||
, curl
|
||||
, gnupg
|
||||
, nix
|
||||
, common-updater-scripts
|
||||
|
||||
# options
|
||||
, pname
|
||||
, version
|
||||
, meta
|
||||
, baseUrl ? "https://dist.torproject.org/torbrowser/"
|
||||
# prefix used to match published archive
|
||||
, prefix ? "tor-browser-"
|
||||
# suffix used to match published archive
|
||||
, suffix ? "_ALL.tar.xz"
|
||||
}:
|
||||
|
||||
writeShellScript "update-${pname}" ''
|
||||
PATH="${lib.makeBinPath [ coreutils curl gnugrep gnused gnupg nix common-updater-scripts ]}"
|
||||
set -euo pipefail
|
||||
|
||||
trap
|
||||
|
||||
url=${baseUrl}
|
||||
version=$(curl -s $url \
|
||||
| sed -rne 's,^.*href="([0-9]+(\.[0-9]+)*)/".*,\1,p' \
|
||||
| sort --version-sort | tail -1)
|
||||
|
||||
if [[ "${version}" = "$version" ]]; then
|
||||
echo "The new version same as the old version."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
HOME=$(mktemp -d)
|
||||
export GNUPGHOME=$(mktemp -d)
|
||||
trap 'rm -rf "$HOME" "$GNUPGHOME"' EXIT
|
||||
|
||||
gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
|
||||
gpg --output $HOME/tor.keyring --export 0xEF6E286DDA85EA2A4BA7DE684E2C6E8793298290
|
||||
|
||||
curl --silent --show-error --fail -o $HOME/shasums "$url$version/sha256sums-signed-build.txt"
|
||||
curl --silent --show-error --fail -o $HOME/shasums.asc "$url$version/sha256sums-signed-build.txt.asc"
|
||||
gpgv --keyring=$HOME/tor.keyring $HOME/shasums.asc $HOME/shasums
|
||||
|
||||
declare -A platforms=(
|
||||
['x86_64-linux']='linux64'
|
||||
['i686-linux']='linux32'
|
||||
)
|
||||
|
||||
for platform in ${lib.escapeShellArgs meta.platforms}; do
|
||||
arch="''${platforms[$platform]}"
|
||||
sha256=$(cat "$HOME/shasums" | grep "${prefix}""$arch-$version""${suffix}" | cut -d" " -f1)
|
||||
hash=$(nix hash to-sri --type sha256 "$sha256")
|
||||
|
||||
update-source-version "${pname}" "0" "sha256-${lib.fakeSha256}" --source-key="sources.$platform"
|
||||
update-source-version "${pname}" "$version" "$hash" --source-key="sources.$platform"
|
||||
done
|
||||
''
|
||||
@@ -23,7 +23,7 @@ let
|
||||
vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi";
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "vivaldi";
|
||||
version = "6.0.2979.18";
|
||||
version = "6.0.2979.22";
|
||||
|
||||
suffix = {
|
||||
aarch64-linux = "arm64";
|
||||
@@ -33,8 +33,8 @@ in stdenv.mkDerivation rec {
|
||||
src = fetchurl {
|
||||
url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}-1_${suffix}.deb";
|
||||
hash = {
|
||||
aarch64-linux = "sha256-S3b0mmWsQhWDKPz34Gzb50q+wAURAFNEt6IvCqo8CMs=";
|
||||
x86_64-linux = "sha256-uqhXL7kndmGoOOalyQ6mVxRB3k8L11UJzADCnNakj64=";
|
||||
aarch64-linux = "sha256-x7wBbd7BdurnWGFeHD5kYb5t0/zGEXQaUwbHnNA4iME=";
|
||||
x86_64-linux = "sha256-uN2nBWlullxpOZP2PzVCwKcNmO9XmDS3WiFOcp0dOqg=";
|
||||
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
};
|
||||
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "karmor";
|
||||
version = "0.13.1";
|
||||
version = "0.13.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kubearmor";
|
||||
repo = "kubearmor-client";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-HSMyGA4S8VjEA2u4TbmH+qS5ZCsWBg+aTNhAbt4S6yY=";
|
||||
hash = "sha256-IKvWS1c7u1a3Fm2+uyhhgyuM680ZYiq9Xq2Tg/Y6HJo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Rxm96sgdZFKuyQzT76WJHvzEM0tG2rvqnl7+umoFIMY=";
|
||||
vendorHash = "sha256-xBtKKq6oUjazRac1FozRXBNRv1rFXYAulWu0Rs8ETvQ=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kluctl";
|
||||
version = "2.19.4";
|
||||
version = "2.20.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kluctl";
|
||||
repo = "kluctl";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-q/LWUTaf0PlNGhUZZIvMTjILmrYAO+jQGrUCqBkbDVM=";
|
||||
hash = "sha256-VCPRGICbALYoD1LIrNnPXQLWGqWr+IznQP70K+L4tvk=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-AywaABegaM32HnPN4b3xnnG/sggr1Z1Jubfbi1VA1k8=";
|
||||
vendorHash = "sha256-z0eiWU5CFMfK6fz+LUtxtSP/MAuVn7iOHB+A7Uv2OQY=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.version=v${version}" ];
|
||||
|
||||
@@ -23,6 +23,10 @@ buildGoModule rec {
|
||||
version = "v${version}";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/{cmd,kluctl}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "The missing glue to put together large Kubernetes deployments";
|
||||
homepage = "https://kluctl.io/";
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
, buildGo120Module
|
||||
, fetchFromGitHub
|
||||
, nixosTests
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -23,11 +24,18 @@ let
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
# ui:
|
||||
# Nomad release commits include the compiled version of the UI, but the file
|
||||
# is only included if we build with the ui tag.
|
||||
tags = [ "ui" ];
|
||||
|
||||
postInstall = ''
|
||||
echo "complete -C $out/bin/nomad nomad" > nomad.bash
|
||||
installShellCompletion nomad.bash
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.nomadproject.io/";
|
||||
description = "A Distributed, Highly Available, Datacenter-Aware Scheduler";
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pachyderm";
|
||||
version = "2.6.0";
|
||||
version = "2.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pachyderm";
|
||||
repo = "pachyderm";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-QWlNDnhcFXfCtX4J0V/hq6nFN0RjzYv29mI2zE2fyFo=";
|
||||
hash = "sha256-C3qzf/+A1pYTYR3FMtUuqZNU+j8oOHSBLDfyuWYCh5I=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-3EG9d4ERaWuHaKFt0KFCOKIgTdrL7HZTO+GSi2RROKY=";
|
||||
|
||||
42
pkgs/applications/networking/cluster/yor/default.nix
Normal file
42
pkgs/applications/networking/cluster/yor/default.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "yor";
|
||||
version = "0.1.177";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bridgecrewio";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-tOYRd3LxSlAvXCW89LAm4GWWukDBZhsgYIWYlEVKokE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ZeTjGmlu8LndD2DKNncPzlpECdvkOjfwaVvV6S3sL9E=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
# https://github.com/bridgecrewio/yor/blob/main/set-version.sh
|
||||
preBuild = ''
|
||||
cat << EOF > src/common/version.go
|
||||
package common
|
||||
|
||||
const Version = "${version}"
|
||||
EOF
|
||||
'';
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extensible auto-tagger for your IaC files. The ultimate way to link entities in the cloud back to the codified resource which created it.";
|
||||
homepage = "https://github.com/bridgecrewio/yor";
|
||||
changelog = "https://github.com/bridgecrewio/yor/releases/tag/${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.ivankovnatsky ];
|
||||
};
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "flexget";
|
||||
version = "3.7.2";
|
||||
version = "3.7.4";
|
||||
format = "pyproject";
|
||||
|
||||
# Fetch from GitHub in order to use `requirements.in`
|
||||
@@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
owner = "Flexget";
|
||||
repo = "Flexget";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-K71nawQhFYLPRg79rcZKJ+US+3M5JAU0eg+ZiFwB6n8=";
|
||||
hash = "sha256-x5hwuc2yXDw8qWGLRJDH4V4rmvxjBKZaogmv4SxXoz4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gabutdm";
|
||||
version = "2.1.5";
|
||||
version = "2.1.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gabutakut";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-8fV7STYSpmNnLyoAjz+RuF/0nFeNiu8AIxkON1MbWr4=";
|
||||
hash = "sha256-ai5LsoK21XwXqL4LRuKsOR1/JV6LnP+1ZJ9fMHpj178=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple and faster download manager";
|
||||
description = "Simple and fast download manager";
|
||||
homepage = "https://github.com/gabutakut/gabutdm";
|
||||
license = licenses.lgpl21Plus;
|
||||
mainProgram = "com.github.gabutakut.gabutdm";
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
(if stdenv.isDarwin then darwin.apple_sdk_11_0.llvmPackages_14.stdenv else stdenv).mkDerivation rec {
|
||||
pname = "signalbackup-tools";
|
||||
version = "20230531";
|
||||
version = "20230603-2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bepaald";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-VK2/LaWO/zXMqSpeEjUM/PBd4MG76HaXY6kENwADN1k=";
|
||||
hash = "sha256-BcvC50K5yt2aoStyoJ2XZYs3hb2YnVDL3kRpU/Y23Z4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -27,13 +27,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "whatsapp-for-linux";
|
||||
version = "1.6.2";
|
||||
version = "1.6.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eneshecan";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-odE5syAFasGosc1WMU/pvQtk3YxuCci1YevZqNKfzYw=";
|
||||
sha256 = "sha256-YmiEzemoGLwCUVfnuTmruSkI0oBg7yNuodWmXTMGh8g=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
let
|
||||
pname = "raven-reader";
|
||||
version = "1.0.78";
|
||||
version = "1.0.80";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/hello-efficiency-inc/raven-reader/releases/download/v${version}/Raven-Reader-${version}.AppImage";
|
||||
sha256 = "sha256-H9V2zTD80fBuIuNZnGDR21IYAAl/b6iYrde5rfsMECQ=";
|
||||
sha256 = "sha256-RkpUWM1hAH73ePpQPj2C3SOukLpcPXbaXmb1VbcHaSU=";
|
||||
};
|
||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "cloudlog";
|
||||
version = "2.4.2";
|
||||
version = "2.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "magicbug";
|
||||
repo = "Cloudlog";
|
||||
rev = version;
|
||||
sha256 = "sha256-btfHHrb7m6ITWe/18u2pmZiZKpKebKMThqcXFIvO/P8=";
|
||||
sha256 = "sha256-2L+Yp8yxhmoVh34cW1s5Xy1f0X2xUo3UP32XcAV2LsM=";
|
||||
};
|
||||
|
||||
postPath = ''
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "diamond";
|
||||
version = "2.1.6";
|
||||
version = "2.1.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bbuchfink";
|
||||
repo = "diamond";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-2FxJTF/fF/Xi0TglXDlf3sSwncv2f6gc129nTbk8YU0=";
|
||||
sha256 = "sha256-5AjP7zH0WZhJqhcjgQjeK/WPCqy1Tl1gXXqRsHbqkys=";
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fastp";
|
||||
version = "0.23.3";
|
||||
version = "0.23.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenGene";
|
||||
repo = "fastp";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-9YHm5LIKJJpMavlWMZXD5ZgTgT5w9eXuXwQVa/prux8=";
|
||||
sha256 = "sha256-hkCo8CiZNJuVcL9Eg/R7YzM7/FEcGEnovV325oWa7y8=";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib libdeflate isa-l ];
|
||||
|
||||
@@ -15,13 +15,13 @@ assert (!blas.isILP64) && (!lapack.isILP64);
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "R";
|
||||
version = "4.2.3";
|
||||
version = "4.3.0";
|
||||
|
||||
src = let
|
||||
inherit (finalAttrs) pname version;
|
||||
in fetchurl {
|
||||
url = "https://cran.r-project.org/src/base/R-${lib.versions.major version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-VeSpptQ74xTiwD0CZqb6VESv3OULMDv8O4Kzl5UW4HQ=";
|
||||
sha256 = "sha256-RdzEi2zyfTYQIPd/3ho5IJ6Ze4FAKzZjyhwBAFampgk=";
|
||||
};
|
||||
|
||||
dontUseImakeConfigure = true;
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
buildInputs = [
|
||||
bzip2 gfortran libX11 libXmu libXt libXt libjpeg libpng libtiff ncurses
|
||||
pango pcre2 perl readline texLive xz zlib less texinfo graphviz icu
|
||||
bison imake which blas lapack curl tcl tk jdk
|
||||
bison imake which blas lapack curl tcl tk jdk tzdata
|
||||
] ++ lib.optionals stdenv.isDarwin [ Cocoa Foundation libobjc libcxx ];
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -38,6 +38,6 @@ stdenv.mkDerivation rec {
|
||||
description = "popcorn anime-downloader + trackma wrapper";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ WeebSorceress ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -49,6 +49,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||
description = "A simple but powerful anime downloader and streamer";
|
||||
license = licenses.unlicense;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ WeebSorceress ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ lib, stdenv, fetchurl, coreutils, openjdk17, makeWrapper, autoPatchelfHook
|
||||
, zlib, libzen, libmediainfo, curlWithGnuTls, libmms, glib
|
||||
, genericUpdater, writeShellScript
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -43,6 +44,13 @@ in stdenv.mkDerivation rec {
|
||||
ln -s $out/opt/filebot.sh $out/bin/filebot
|
||||
'';
|
||||
|
||||
passthru.updateScript = genericUpdater {
|
||||
versionLister = writeShellScript "filebot-versionLister" ''
|
||||
curl -s https://www.filebot.net \
|
||||
| sed -rne 's,^.*FileBot_([0-9]*\.[0-9]+\.[0-9]+)-portable.tar.xz.*,\1,p'
|
||||
'';
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "The ultimate TV and Movie Renamer";
|
||||
longDescription = ''
|
||||
|
||||
@@ -97,12 +97,12 @@ let
|
||||
# Handbrake maintains a set of ffmpeg patches. In particular, these
|
||||
# patches are required for subtitle timing to work correctly. See:
|
||||
# https://github.com/HandBrake/HandBrake/issues/4029
|
||||
ffmpeg-version = "5.1.1";
|
||||
ffmpeg-version = "5.1.2";
|
||||
ffmpeg-hb = ffmpeg_5-full.overrideAttrs (old: {
|
||||
version = ffmpeg-version;
|
||||
src = fetchurl {
|
||||
url = "https://www.ffmpeg.org/releases/ffmpeg-${ffmpeg-version}.tar.bz2";
|
||||
hash = "sha256-zQ4W+QNCEmbVzN3t97g7nldUrvS596fwbOnkyALwVFs=";
|
||||
hash = "sha256-OaC8yNmFSfFsVwYkZ4JGpqxzbAZs69tAn5UC6RWyLys=";
|
||||
};
|
||||
patches = old.patches or [ ] ++ [
|
||||
"${src}/contrib/ffmpeg/A01-qsv-libavfilter-qsvvpp-change-the-output-frame-s-width-a.patch"
|
||||
@@ -133,7 +133,8 @@ let
|
||||
"${src}/contrib/ffmpeg/A26-Update-the-min-version-to-1.4.23.0-for-AMF-SDK.patch"
|
||||
"${src}/contrib/ffmpeg/A27-avcodec-amfenc-Fixes-the-color-information-in-the-ou.patch"
|
||||
"${src}/contrib/ffmpeg/A28-avcodec-amfenc-HDR-metadata.patch"
|
||||
"${src}/contrib/ffmpeg/A30-svt-av1-backports.patch"
|
||||
# This patch is not applying since ffmpeg 5.1.1, probably it was backported by upstream
|
||||
# "${src}/contrib/ffmpeg/A30-svt-av1-backports.patch"
|
||||
];
|
||||
});
|
||||
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "mpv-thumbfast";
|
||||
version = "unstable-2023-05-12";
|
||||
version = "unstable-2023-06-04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "po5";
|
||||
repo = "thumbfast";
|
||||
rev = "10e9f6133d4ea88e3e5d154969abfaee17173570";
|
||||
hash = "sha256-3fzkAR/itgheXQHTr30XPQR3NpYpIVeZfkcBxEoAnGg=";
|
||||
rev = "6f1d92da25a7b807427f55f085e7ad4d60c4e0d7";
|
||||
hash = "sha256-7CCxMPmZZRDIcWn+YbV4xzZFL80qZS5UFA25E+Y2P2Q=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -32,7 +32,7 @@ stdenvNoCC.mkDerivation {
|
||||
meta = {
|
||||
description = "High-performance on-the-fly thumbnailer for mpv";
|
||||
homepage = "https://github.com/po5/thumbfast";
|
||||
license = lib.licenses.unfree; # no explicit licensing information available at this time
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ apfelkuchen6 ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -18,15 +18,15 @@
|
||||
, obs-vkcapture32
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "obs-vkcapture";
|
||||
version = "1.3.2";
|
||||
version = "1.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nowrep";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-UQQ8oBEnOxmSN4ZyW4LdPZYvd5eB9EmdR0UvE1wgMZw=";
|
||||
repo = finalAttrs.pname;
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-pvJzzDbsmsu46C8Jki+eMfCZLejkgvqns2hVNDtpSk0=";
|
||||
};
|
||||
|
||||
cmakeFlags = lib.optionals stdenv.isi686 [
|
||||
@@ -60,8 +60,9 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "OBS Linux Vulkan/OpenGL game capture";
|
||||
homepage = "https://github.com/nowrep/obs-vkcapture";
|
||||
changelog = "https://github.com/nowrep/obs-vkcapture/releases/tag/v${finalAttrs.version}";
|
||||
maintainers = with maintainers; [ atila pedrohlc ];
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "containerd";
|
||||
version = "1.7.1";
|
||||
version = "1.7.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "containerd";
|
||||
repo = "containerd";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-WwedtcsrDQwMQcKFO5nnPiHyGJpl5hXZlmpbBe1/ftY=";
|
||||
hash = "sha256-L4zaA+kMBz2tRMbitZUxb9/wdimSO2njx6ozvyKKlkk=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
@@ -141,7 +141,7 @@ rec {
|
||||
runCommand name
|
||||
{ inherit text executable checkPhase allowSubstitutes preferLocalBuild;
|
||||
passAsFile = [ "text" ];
|
||||
meta = lib.optionalAttrs (toString executable != "" && matches != null) {
|
||||
meta = lib.optionalAttrs (executable && matches != null) {
|
||||
mainProgram = lib.head matches;
|
||||
} // meta;
|
||||
}
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "kora-icon-theme";
|
||||
version = "1.5.6";
|
||||
version = "1.5.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bikass";
|
||||
repo = "kora";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-vAeml+upESUVlJ95Rm0+vlZ+NQZWEZl00scDkb3W7Yo=";
|
||||
sha256 = "sha256-VAlfrUWgxcG17ZTlA357gengXTilwuZOBscIzadAsaU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -8,21 +8,16 @@
|
||||
let
|
||||
generator = buildGoModule rec {
|
||||
pname = "sing-geoip";
|
||||
version = "unstable-2022-07-05";
|
||||
version = "20230512";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SagerNet";
|
||||
repo = pname;
|
||||
rev = "2ced72c94da4c9259c40353c375319d9d28a78f3";
|
||||
hash = "sha256-z8aP+OfTuzQNwOT3EEnI9uze/vbHTJLEiCPqIrnNUHw=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Zm+5N/37hoHpH/TLNJrHeaBXI8G1jEpM1jz6Um8edNE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-lr0XMLFxJmLqIqCuGgmsFh324jmZVj71blmStMn41Rs=";
|
||||
|
||||
postPatch = ''
|
||||
# The codes args should start from the third args
|
||||
substituteInPlace main.go --replace "os.Args[2:]" "os.Args[3:]"
|
||||
'';
|
||||
vendorHash = "sha256-ejXAdsJwXhqet+Ca+pDLWwu0gex79VcIxW6rmhRnbTQ=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "GeoIP data for sing-box";
|
||||
|
||||
@@ -1,28 +1,69 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
, pkgsBuildBuild
|
||||
, jq
|
||||
, moreutils
|
||||
, dbip-country-lite
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "v2ray-geoip";
|
||||
version = "202306010100";
|
||||
let
|
||||
generator = pkgsBuildBuild.buildGoModule {
|
||||
pname = "v2ray-geoip";
|
||||
version = "unstable-2023-03-27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "v2fly";
|
||||
repo = "geoip";
|
||||
rev = "d8faa6ba0754c083a89898610942d1d1d978ef7f";
|
||||
sha256 = "sha256-Aumk+YPsxZl3F/DQv6w0rE5f5hduLNYApCKQIvRUSIw=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "v2fly";
|
||||
repo = "geoip";
|
||||
rev = "9321a7f5e301a957228eba44845144b4555b6658";
|
||||
hash = "sha256-S30XEgzA9Vrq7I7REfO/WN/PKpcjcI7KZnrL4uw/Chs=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-bAXeA1pDIUuEvzTLydUIX6S6fm6j7CUQmBG+7xvxUcc=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "GeoIP for V2Ray";
|
||||
homepage = "https://github.com/v2fly/geoip";
|
||||
license = licenses.cc-by-sa-40;
|
||||
maintainers = with maintainers; [ nickcao ];
|
||||
};
|
||||
};
|
||||
input = {
|
||||
type = "maxmindMMDB";
|
||||
action = "add";
|
||||
args = {
|
||||
uri = dbip-country-lite.mmdb;
|
||||
};
|
||||
};
|
||||
in
|
||||
stdenvNoCC.mkDerivation {
|
||||
inherit (generator) pname src;
|
||||
inherit (dbip-country-lite) version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
jq
|
||||
moreutils
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
jq '.input[0] |= ${builtins.toJSON input}' config.json | sponge config.json
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
${generator}/bin/geoip
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -m 0644 geoip.dat -D $out/share/v2ray/geoip.dat
|
||||
install -Dm444 -t "$out/share/v2ray" output/dat/{cn,geoip-only-cn-private,geoip,private}.dat
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
passthru.generator = generator;
|
||||
|
||||
meta = with lib; {
|
||||
description = "GeoIP for V2Ray";
|
||||
homepage = "https://github.com/v2fly/geoip";
|
||||
license = licenses.cc-by-sa-40;
|
||||
maintainers = with maintainers; [ nickcao ];
|
||||
meta = generator.meta // {
|
||||
inherit (dbip-country-lite.meta) license;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
#! /usr/bin/env nix-shell
|
||||
#! nix-shell -i bash -p common-updater-scripts curl jq
|
||||
set -euo pipefail
|
||||
|
||||
COMMIT=$(curl "https://api.github.com/repos/v2fly/geoip/commits/release?per_page=1")
|
||||
update-source-version v2ray-geoip "$(echo $COMMIT | jq -r .commit.message)" --file=pkgs/data/misc/v2ray-geoip/default.nix --rev="$(echo $COMMIT | jq -r .sha)"
|
||||
@@ -51,13 +51,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mutter";
|
||||
version = "43.5";
|
||||
version = "43.6";
|
||||
|
||||
outputs = [ "out" "dev" "man" "devdoc" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/mutter/${lib.versions.major finalAttrs.version}/mutter-${finalAttrs.version}.tar.xz";
|
||||
sha256 = "/JAP4ahA2aeTyOLSDUTJCqCH1fv9x5Su5wluHYoJZxo=";
|
||||
sha256 = "F1oiDSFv8Z8YLWeqc89eUaJVIL6bruaCAA4QRECkciU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -14,4 +14,9 @@ mkDerivation {
|
||||
pname = "kwayland-integration";
|
||||
nativeBuildInputs = [ extra-cmake-modules wayland-scanner ];
|
||||
buildInputs = [ kguiaddons kidletime kwindowsystem kwayland qtbase wayland-protocols wayland ];
|
||||
|
||||
meta = {
|
||||
description = "Integration plugins for various KDE frameworks for the Wayland windowing system";
|
||||
homepage = "https://invent.kde.org/plasma/kwayland-integration";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -33,4 +33,9 @@ mkDerivation {
|
||||
kactivities
|
||||
plasma-workspace
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Components necessary to integrate browsers into the Plasma Desktop";
|
||||
homepage = "https://community.kde.org/Plasma/Browser_Integration";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -33,4 +33,9 @@ mkDerivation {
|
||||
wayland-protocols
|
||||
plasma-wayland-protocols
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A set of plugins responsible for better integration of Qt applications when running on a KDE Plasma workspace";
|
||||
homepage = "https://invent.kde.org/plasma/plasma-integration";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,36 +1,36 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "28";
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "pforth";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "philburk";
|
||||
repo = "pforth";
|
||||
rev = "9190005e32c6151b76ac707b30eeb4d5d9dd1d36";
|
||||
sha256 = "0k3pmcgybsnwrxy75piyb2420r8d4ij190606js32j99062glr3x";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-vEjFeHSJl+yAtatYJEnu+r9hmOr/kZOgIbSUXR/c8WU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "gnumake-4.3-fix.patch";
|
||||
url = "https://github.com/philburk/pforth/commit/457cb99f57292bc855e53abcdcb7b12d6681e847.patch";
|
||||
sha256 = "0x1bwx3pqb09ddjhmdli47lnk1ys4ny42819g17kfn8nkjs5hbx7";
|
||||
})
|
||||
];
|
||||
dontConfigure = true;
|
||||
|
||||
makeFlags = [ "SRCDIR=." ];
|
||||
makefile = "build/unix/Makefile";
|
||||
preBuild = ''
|
||||
cd platforms/unix
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 pforth_standalone $out/bin/pforth
|
||||
'';
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Portable ANSI style Forth written in ANSI C";
|
||||
homepage = "http://www.softsynth.com/pforth/";
|
||||
license = lib.licenses.publicDomain;
|
||||
description = "Portable Portable ANS-like Forth written in ANSI 'C'";
|
||||
changelog = "https://github.com/philburk/pforth/blob/v${finalAttrs.version}/RELEASES.md";
|
||||
license = lib.licenses.bsd0;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres yrashk ];
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ yrashk ];
|
||||
};
|
||||
}
|
||||
})
|
||||
# TODO: option for install the non-standalone executable
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "angelscript";
|
||||
version = "2.36.0";
|
||||
version = "2.36.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.angelcode.com/angelscript/sdk/files/angelscript_${version}.zip";
|
||||
sha256 = "sha256-M/lfdZe8DYiwl9NeexMg0VQZ/8V3mFHZ0qbMzsV4EbM=";
|
||||
sha256 = "sha256-WLt0mvnH44YwRwX05uYnrkHf4D4LanPD0NLgF8T8lI8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip cmake ];
|
||||
|
||||
@@ -2,17 +2,17 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wasmtime";
|
||||
version = "9.0.2";
|
||||
version = "9.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bytecodealliance";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Fnc3iepxHr7WjorFoabHE6ZM/zK1T5W/gkxL+AEcVgU=";
|
||||
hash = "sha256-b/GioFixPpbCUiYfOLwJ1NCsLGqIm+v9ODuq6kD8JeE=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
cargoHash = "sha256-7Q5aJU0sYzRLgjiSNLIrydYRJ3ozABjDo4VtmexS3po=";
|
||||
cargoHash = "sha256-AYb6dbmvoFYbvgik9rdyOnxdHdnhR8thnrQShGxRLFA=";
|
||||
|
||||
cargoBuildFlags = [ "--package" "wasmtime-cli" "--package" "wasmtime-c-api" ];
|
||||
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cista";
|
||||
version = "0.13";
|
||||
version = "0.14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "felixguendling";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-dQOVmKRXfApN0QRx/PmLVzeCGppFJBnNWIOoLbDbrds=";
|
||||
sha256 = "sha256-E2B+dNFk0ssKhT9dULNFzpa8auRQ9Q0czuUjX6hxWPw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "faudio";
|
||||
version = "23.05";
|
||||
version = "23.06";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FNA-XNA";
|
||||
repo = "FAudio";
|
||||
rev = version;
|
||||
sha256 = "sha256-uZSKbLQ36Kw6useAKyDoxLKD1xtKbigq/ejWErxvkcE=";
|
||||
sha256 = "sha256-V5t9YliyXxoWNnKwp3TTOCyCIzpcyg1X4DaI0WFlfeQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [cmake];
|
||||
|
||||
@@ -82,7 +82,7 @@ let
|
||||
homepage = meta.homepage or "https://kde.org";
|
||||
license = meta.license or license;
|
||||
maintainers = (meta.maintainers or []) ++ maintainers;
|
||||
platforms = meta.platforms or lib.platforms.linux;
|
||||
platforms = meta.platforms or lib.platforms.all;
|
||||
};
|
||||
|
||||
in mkDerivation (args // {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
lib, mkDerivation, propagate,
|
||||
lib, stdenv, mkDerivation, propagate,
|
||||
extra-cmake-modules, kcoreaddons, qttools,
|
||||
enablePolkit ? true, polkit-qt
|
||||
enablePolkit ? stdenv.isLinux, polkit-qt
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
mkDerivation, lib,
|
||||
mkDerivation, lib, stdenv,
|
||||
extra-cmake-modules,
|
||||
qtbase, qttools, shared-mime-info
|
||||
}:
|
||||
@@ -18,4 +18,7 @@ mkDerivation ({
|
||||
postInstall = ''
|
||||
moveToOutput "mkspecs" "$dev"
|
||||
'';
|
||||
} // lib.optionalAttrs stdenv.isDarwin {
|
||||
# https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/327
|
||||
env.NIX_CFLAGS_COMPILE = "-DSOCK_CLOEXEC=0";
|
||||
})
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
mkDerivation,
|
||||
mkDerivation, lib, stdenv, fetchpatch,
|
||||
extra-cmake-modules, docbook_xml_dtd_45, docbook_xsl_ns,
|
||||
karchive, ki18n, qtbase,
|
||||
perl, perlPackages
|
||||
@@ -20,7 +20,15 @@ mkDerivation {
|
||||
];
|
||||
buildInputs = [ karchive ki18n ];
|
||||
outputs = [ "out" "dev" ];
|
||||
patches = [ ./kdoctools-no-find-docbook-xml.patch ];
|
||||
patches = [ ./kdoctools-no-find-docbook-xml.patch ]
|
||||
# kf.doctools.core: Error: Could not find kdoctools catalogs
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
(fetchpatch {
|
||||
name = "kdoctools-relocate-datapath.patch";
|
||||
url = "https://github.com/msys2/MINGW-packages/raw/0900785a1f4e4146ab9561fb92a1c70fa70fcfc4/mingw-w64-kdoctools-qt5/0001-kdoctools-relocate-datapath.patch";
|
||||
hash = "sha256-MlokdrabXavWHGXYmdz9zZDJQIwAdNxebJBSAH2Z3vI=";
|
||||
})
|
||||
];
|
||||
cmakeFlags = [
|
||||
"-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook"
|
||||
"-DDocBookXSL_DIR=${docbook_xsl_ns}/xml/xsl/docbook"
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
mkDerivation,
|
||||
mkDerivation, lib, stdenv,
|
||||
extra-cmake-modules, perl,
|
||||
karchive, kconfig, kguiaddons, ki18n, kiconthemes, kio, kparts, libgit2,
|
||||
qtscript, qtxmlpatterns, sonnet, syntax-highlighting, qtquickcontrols,
|
||||
editorconfig-core-c
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
mkDerivation ({
|
||||
pname = "ktexteditor";
|
||||
nativeBuildInputs = [ extra-cmake-modules perl ];
|
||||
buildInputs = [
|
||||
@@ -15,4 +15,9 @@ mkDerivation {
|
||||
editorconfig-core-c
|
||||
];
|
||||
propagatedBuildInputs = [ kparts ];
|
||||
}
|
||||
} // lib.optionalAttrs stdenv.isDarwin {
|
||||
postPatch = ''
|
||||
substituteInPlace src/part/CMakeLists.txt \
|
||||
--replace "kpart.desktop" "${kparts}/share/kservicetypes5/kpart.desktop"
|
||||
'';
|
||||
})
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openimageio";
|
||||
version = "2.4.11.1";
|
||||
version = "2.4.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenImageIO";
|
||||
repo = "oiio";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Q8Gb/zscZre7fJPyLlZn04Xp3VFFbr6Z007mDPzownc=";
|
||||
hash = "sha256-0Jilfe4jNNnpsbodJBFIyxjWqOA99MwmzAriwJgvqVs=";
|
||||
};
|
||||
|
||||
outputs = [ "bin" "out" "dev" "doc" ];
|
||||
|
||||
37
pkgs/development/libraries/tbox/default.nix
Normal file
37
pkgs/development/libraries/tbox/default.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tbox";
|
||||
version = "1.7.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tboox";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6SqMvwxKSiJO7Z33xx7cJoECu5AJ1gWF8ZsiERWx8DU=";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
"--hash=y"
|
||||
"--charset=y"
|
||||
"--float=y"
|
||||
"--demo=n"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib/pkgconfig
|
||||
substituteAll ${./libtbox.pc.in} $out/lib/pkgconfig/libtbox.pc
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A glib-like multi-platform c library";
|
||||
homepage = "https://docs.tboox.org";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ rewine ];
|
||||
};
|
||||
}
|
||||
|
||||
10
pkgs/development/libraries/tbox/libtbox.pc.in
Normal file
10
pkgs/development/libraries/tbox/libtbox.pc.in
Normal file
@@ -0,0 +1,10 @@
|
||||
prefix=@out@
|
||||
exec_prefix=${prefix}
|
||||
libdir=@out@/lib
|
||||
includedir=@out@/include
|
||||
|
||||
Name: tbox
|
||||
Description: A glib-like multi-platform c library
|
||||
Version: @version@
|
||||
Libs: -L${libdir} -ltbox
|
||||
Cflags: -I${includedir}
|
||||
@@ -12,13 +12,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wxsqlite3";
|
||||
version = "4.9.3";
|
||||
version = "4.9.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "utelle";
|
||||
repo = "wxsqlite3";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-HdsPCdZF1wMTGYFaXzq+f4bUFjgCAklsKhhdyMKaxp8=";
|
||||
hash = "sha256-aM79DI/Kj1QEIJ1HMttlfqK/WZER9RJhQbrnbPto57U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
30
pkgs/development/libraries/xmake-core-sv/default.nix
Normal file
30
pkgs/development/libraries/xmake-core-sv/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xmake-core-sv";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xmake-io";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-icvGQi6FNSZXNGs2oLiUKu6rrVsWcXh1r91kycGjnwY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Public domain cross-platform semantic versioning in c99";
|
||||
homepage = "https://github.com/xmake-io/xmake-core-sv";
|
||||
license = licenses.unlicense;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ rewine ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
, runDemo ? false
|
||||
, binlore
|
||||
, sqlite
|
||||
, util-linux
|
||||
, unixtools
|
||||
, gawk
|
||||
, rlwrap
|
||||
, gnutar
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
let
|
||||
default_packages = [ bash file findutils gettext ];
|
||||
parsed_packages = [ coreutils sqlite util-linux gnused gawk findutils rlwrap gnutar bc ];
|
||||
parsed_packages = [ coreutils sqlite unixtools.script gnused gawk findutils rlwrap gnutar bc ];
|
||||
in
|
||||
rec {
|
||||
module1 = resholve.mkDerivation {
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 52dc7a8..407c056 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -2,4 +2,4 @@
|
||||
# Copyright 2012 Google Inc. wrightt@google.com
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
-SUBDIRS = src include examples
|
||||
+SUBDIRS = src include
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index ac2a278..a4104b7 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -82,7 +82,7 @@ fi
|
||||
|
||||
AC_CHECK_FUNCS([memmove memset regcomp select socket strcasecmp strncasecmp strchr strdup strndup strrchr strstr strtol strcasestr getline])
|
||||
|
||||
-AC_CONFIG_FILES([Makefile src/Makefile include/Makefile examples/Makefile])
|
||||
+AC_CONFIG_FILES([Makefile src/Makefile include/Makefile])
|
||||
|
||||
CFLAGS="${CFLAGS} -Wall -Werror"
|
||||
|
||||
57
pkgs/development/mobile/ios-webkit-debug-proxy/default.nix
Normal file
57
pkgs/development/mobile/ios-webkit-debug-proxy/default.nix
Normal file
@@ -0,0 +1,57 @@
|
||||
{ stdenv
|
||||
, autoconf
|
||||
, automake
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, lib
|
||||
, libimobiledevice
|
||||
, libusb1
|
||||
, libplist
|
||||
, libtool
|
||||
, openssl
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ios-webkit-debug-proxy";
|
||||
version = "1.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-cZ/p/aWET/BXKDrD+qgR+rfTISd+4jPNQFuV8klSLUo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# OpenSSL 3.0 compatibility
|
||||
(fetchpatch {
|
||||
url = "https://github.com/google/ios-webkit-debug-proxy/commit/5ba30a2a67f39d25025cadf37c0eafb2e2d2d0a8.patch";
|
||||
sha256 = "sha256-2b9BjG9wkqO+ZfoBYYJvD2Db5Kr0F/MxKMTRsI0ea3s=";
|
||||
})
|
||||
# Examples compilation breaks with --disable-static, see https://github.com/google/ios-webkit-debug-proxy/issues/399
|
||||
./0001-Don-t-compile-examples.patch
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
|
||||
buildInputs = [ libimobiledevice libusb1 libplist openssl ];
|
||||
|
||||
preConfigure = ''
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
'';
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A DevTools proxy (Chrome Remote Debugging Protocol) for iOS devices (Safari Remote Web Inspector).";
|
||||
longDescription = ''
|
||||
The ios_webkit_debug_proxy (aka iwdp) proxies requests from usbmuxd
|
||||
daemon over a websocket connection, allowing developers to send commands
|
||||
to MobileSafari and UIWebViews on real and simulated iOS devices.
|
||||
'';
|
||||
homepage = "https://github.com/google/ios-webkit-debug-proxy";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.abustany ];
|
||||
};
|
||||
}
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiosmtplib";
|
||||
version = "2.0.1";
|
||||
version = "2.0.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "cole";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Py/44J9J8FdrsSpEM2/DR2DQH8x8Ub7y0FPIN2gcmmA=";
|
||||
hash = "sha256-Wo9WH3fwGN1upLAyj6aThxpQE7hortISjaCATTPee40=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -19,14 +19,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apprise";
|
||||
version = "1.3.0";
|
||||
version = "1.4.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-LFDBml3UExex9lnFKyGpkP6+bBXghGQiihzo5gmPEb8=";
|
||||
hash = "sha256-4xUFNIVNrFPU8Hg42Mv7Is4NRdQuugX5bWbE9IQ81Vo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncstdlib";
|
||||
version = "3.10.7";
|
||||
version = "3.10.8";
|
||||
format = "flit";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "maxfischer2781";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-lX5mOcoZTb6EfRHT0qTTWst3NErLti4jZwAeQx4pHGA=";
|
||||
hash = "sha256-7HQFyIR+NWRzbFkzkZiuEQotZfCXpCzrWfWIFg1lWv4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -3,25 +3,27 @@
|
||||
, fetchPypi
|
||||
, azure-mgmt-common
|
||||
, azure-mgmt-core
|
||||
, isodate
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-compute";
|
||||
version = "29.1.0";
|
||||
version = "30.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
hash = "sha256-LVobrn9dMHyh6FDX6D/tnIOdT2NbEKS40/i8YJisKIg=";
|
||||
hash = "sha256-cyD7r8OSdwsD7QK2h2AYXmCUVS7ZjX/V6nchClpRPHg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
azure-mgmt-common
|
||||
azure-mgmt-core
|
||||
isodate
|
||||
];
|
||||
|
||||
pythonNamespaces = [
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.3.2";
|
||||
version = "1.4.0";
|
||||
pname = "azure-mgmt-core";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
hash = "sha256-B/Sv6COlXXBLBI1h7f3BMYwFHtWfJEAyEmNQvpXp1QE=";
|
||||
hash = "sha256-0ZUgg0AJT5jlpmYbeBzeb2oFHnnOMXyqvY/5cDCps64=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
47
pkgs/development/python-modules/broadbean/default.nix
Normal file
47
pkgs/development/python-modules/broadbean/default.nix
Normal file
@@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, versioningit
|
||||
, numpy
|
||||
, matplotlib
|
||||
, schema
|
||||
, hypothesis
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "broadbean";
|
||||
version = "0.11.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-e+LAcmWxT+SkaWtToPgg+x3QRu5fCSm+w4dLCcyZrw8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools versioningit ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
matplotlib
|
||||
schema
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
hypothesis
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "broadbean" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://qcodes.github.io/broadbean";
|
||||
description = "A library for making pulses that can be leveraged with QCoDeS";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ evilmav ];
|
||||
};
|
||||
}
|
||||
@@ -23,6 +23,6 @@ buildPythonPackage rec {
|
||||
description = "A Python module to bypass Cloudflare's anti-bot page";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ WeebSorceress ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -9,19 +9,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-stubs-ext";
|
||||
version = "4.2.0";
|
||||
version = "4.2.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-d4nwyuynFS/vB61rlN7HMQoF0Ljat395eeGdsAN7USc=";
|
||||
hash = "sha256-JpbW99hTg0GwYM/6lWXHLqeX6GZofgQLhtKcrYeZ5f4=";
|
||||
};
|
||||
|
||||
# setup.cfg tries to pull in nonexistent LICENSE.txt file
|
||||
postPatch = "rm setup.cfg";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
typing-extensions
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "frigidaire";
|
||||
version = "0.18.12";
|
||||
version = "0.18.13";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "bm1549";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-U6ko6P5/ANGy84GQDuSQq+YArou0TrXH5SIc5x4euvU=";
|
||||
hash = "sha256-FikBV4KjutQfupGPXcVT1h+BfQ099WRrmbrEJOaVCQI=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -27,14 +27,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-auth";
|
||||
version = "2.18.1";
|
||||
version = "2.19.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-16MkkCfn9GT7v9fugxmgitCdLupRV4V1xL02D/oEnMs=";
|
||||
hash = "sha256-qc+oiz4WGWhF5ko2WOuVOZISnROsczewZMZUb3fBcYM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-bigquery-storage";
|
||||
version = "2.19.1";
|
||||
version = "2.20.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-DZtfQqcD8yELSzrUWhgTkZH5NHQP3zYpsbIv2VrfC7o=";
|
||||
hash = "sha256-F61ZHBaE8cEaQl0+7wyWcrjQlk66QHQiUbUasjyjfZw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -28,14 +28,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-bigquery";
|
||||
version = "3.10.0";
|
||||
version = "3.11.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-SwLe8Hbi24zsZvZftifROQSp/Dz0/uMV7eQ9y3A4qN8=";
|
||||
hash = "sha256-OhwbNWb58n6oOjaq9U64eURO5z70JFZ2QBigs7VW0Ps=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user