Merge master into staging-next

This commit is contained in:
github-actions[bot]
2022-03-19 18:01:21 +00:00
committed by GitHub
70 changed files with 2739 additions and 1775 deletions
+113 -2
View File
@@ -4,8 +4,8 @@
let
inherit (builtins) head tail length;
inherit (lib.trivial) id;
inherit (lib.strings) concatStringsSep sanitizeDerivationName;
inherit (lib.lists) foldr foldl' concatMap concatLists elemAt all;
inherit (lib.strings) concatStringsSep concatMapStringsSep escapeNixIdentifier sanitizeDerivationName;
inherit (lib.lists) foldr foldl' concatMap concatLists elemAt all partition groupBy take foldl;
in
rec {
@@ -78,6 +78,103 @@ rec {
in attrByPath attrPath (abort errorMsg);
/* Update or set specific paths of an attribute set.
Takes a list of updates to apply and an attribute set to apply them to,
and returns the attribute set with the updates applied. Updates are
represented as { path = ...; update = ...; } values, where `path` is a
list of strings representing the attribute path that should be updated,
and `update` is a function that takes the old value at that attribute path
as an argument and returns the new
value it should be.
Properties:
- Updates to deeper attribute paths are applied before updates to more
shallow attribute paths
- Multiple updates to the same attribute path are applied in the order
they appear in the update list
- If any but the last `path` element leads into a value that is not an
attribute set, an error is thrown
- If there is an update for an attribute path that doesn't exist,
accessing the argument in the update function causes an error, but
intermediate attribute sets are implicitly created as needed
Example:
updateManyAttrsByPath [
{
path = [ "a" "b" ];
update = old: { d = old.c; };
}
{
path = [ "a" "b" "c" ];
update = old: old + 1;
}
{
path = [ "x" "y" ];
update = old: "xy";
}
] { a.b.c = 0; }
=> { a = { b = { d = 1; }; }; x = { y = "xy"; }; }
*/
updateManyAttrsByPath = let
# When recursing into attributes, instead of updating the `path` of each
# update using `tail`, which needs to allocate an entirely new list,
# we just pass a prefix length to use and make sure to only look at the
# path without the prefix length, so that we can reuse the original list
# entries.
go = prefixLength: hasValue: value: updates:
let
# Splits updates into ones on this level (split.right)
# And ones on levels further down (split.wrong)
split = partition (el: length el.path == prefixLength) updates;
# Groups updates on further down levels into the attributes they modify
nested = groupBy (el: elemAt el.path prefixLength) split.wrong;
# Applies only nested modification to the input value
withNestedMods =
# Return the value directly if we don't have any nested modifications
if split.wrong == [] then
if hasValue then value
else
# Throw an error if there is no value. This `head` call here is
# safe, but only in this branch since `go` could only be called
# with `hasValue == false` for nested updates, in which case
# it's also always called with at least one update
let updatePath = (head split.right).path; in
throw
( "updateManyAttrsByPath: Path '${showAttrPath updatePath}' does "
+ "not exist in the given value, but the first update to this "
+ "path tries to access the existing value.")
else
# If there are nested modifications, try to apply them to the value
if ! hasValue then
# But if we don't have a value, just use an empty attribute set
# as the value, but simplify the code a bit
mapAttrs (name: go (prefixLength + 1) false null) nested
else if isAttrs value then
# If we do have a value and it's an attribute set, override it
# with the nested modifications
value //
mapAttrs (name: go (prefixLength + 1) (value ? ${name}) value.${name}) nested
else
# However if it's not an attribute set, we can't apply the nested
# modifications, throw an error
let updatePath = (head split.wrong).path; in
throw
( "updateManyAttrsByPath: Path '${showAttrPath updatePath}' needs to "
+ "be updated, but path '${showAttrPath (take prefixLength updatePath)}' "
+ "of the given value is not an attribute set, so we can't "
+ "update an attribute inside of it.");
# We get the final result by applying all the updates on this level
# after having applied all the nested updates
# We use foldl instead of foldl' so that in case of multiple updates,
# intermediate values aren't evaluated if not needed
in foldl (acc: el: el.update acc) withNestedMods split.right;
in updates: value: go 0 true value updates;
/* Return the specified attributes from a set.
Example:
@@ -477,6 +574,20 @@ rec {
overrideExisting = old: new:
mapAttrs (name: value: new.${name} or value) old;
/* Turns a list of strings into a human-readable description of those
strings represented as an attribute path. The result of this function is
not intended to be machine-readable.
Example:
showAttrPath [ "foo" "10" "bar" ]
=> "foo.\"10\".bar"
showAttrPath []
=> "<root attribute path>"
*/
showAttrPath = path:
if path == [] then "<root attribute path>"
else concatMapStringsSep "." escapeNixIdentifier path;
/* Get a package output.
If no output is found, fallback to `.out` and then to the default.
+3 -2
View File
@@ -78,9 +78,10 @@ let
mapAttrs' mapAttrsToList mapAttrsRecursive mapAttrsRecursiveCond
genAttrs isDerivation toDerivation optionalAttrs
zipAttrsWithNames zipAttrsWith zipAttrs recursiveUpdateUntil
recursiveUpdate matchAttrs overrideExisting getOutput getBin
recursiveUpdate matchAttrs overrideExisting showAttrPath getOutput getBin
getLib getDev getMan chooseDevOutputs zipWithNames zip
recurseIntoAttrs dontRecurseIntoAttrs cartesianProductOfSets;
recurseIntoAttrs dontRecurseIntoAttrs cartesianProductOfSets
updateManyAttrsByPath;
inherit (self.lists) singleton forEach foldr fold foldl foldl' imap0 imap1
concatMap flatten remove findSingle findFirst any all count
optional optionals toList range partition zipListsWith zipLists
+9 -8
View File
@@ -4,6 +4,7 @@
let
inherit (lib.strings) toInt;
inherit (lib.trivial) compare min;
inherit (lib.attrsets) mapAttrs;
in
rec {
@@ -340,15 +341,15 @@ rec {
groupBy' builtins.add 0 (x: boolToString (x > 2)) [ 5 1 2 3 4 ]
=> { true = 12; false = 3; }
*/
groupBy' = op: nul: pred: lst:
foldl' (r: e:
let
key = pred e;
in
r // { ${key} = op (r.${key} or nul) e; }
) {} lst;
groupBy' = op: nul: pred: lst: mapAttrs (name: foldl op nul) (groupBy pred lst);
groupBy = groupBy' (sum: e: sum ++ [e]) [];
groupBy = builtins.groupBy or (
pred: foldl' (r: e:
let
key = pred e;
in
r // { ${key} = (r.${key} or []) ++ [e]; }
) {});
/* Merges two lists of the same size together. If the sizes aren't the same
the merging stops at the shortest. How both lists are merged is defined
+152
View File
@@ -761,4 +761,156 @@ runTests {
{ a = 3; b = 30; c = 300; }
];
};
# The example from the showAttrPath documentation
testShowAttrPathExample = {
expr = showAttrPath [ "foo" "10" "bar" ];
expected = "foo.\"10\".bar";
};
testShowAttrPathEmpty = {
expr = showAttrPath [];
expected = "<root attribute path>";
};
testShowAttrPathVarious = {
expr = showAttrPath [
"."
"foo"
"2"
"a2-b"
"_bc'de"
];
expected = ''".".foo."2".a2-b._bc'de'';
};
testGroupBy = {
expr = groupBy (n: toString (mod n 5)) (range 0 16);
expected = {
"0" = [ 0 5 10 15 ];
"1" = [ 1 6 11 16 ];
"2" = [ 2 7 12 ];
"3" = [ 3 8 13 ];
"4" = [ 4 9 14 ];
};
};
testGroupBy' = {
expr = groupBy' builtins.add 0 (x: boolToString (x > 2)) [ 5 1 2 3 4 ];
expected = { false = 3; true = 12; };
};
# The example from the updateManyAttrsByPath documentation
testUpdateManyAttrsByPathExample = {
expr = updateManyAttrsByPath [
{
path = [ "a" "b" ];
update = old: { d = old.c; };
}
{
path = [ "a" "b" "c" ];
update = old: old + 1;
}
{
path = [ "x" "y" ];
update = old: "xy";
}
] { a.b.c = 0; };
expected = { a = { b = { d = 1; }; }; x = { y = "xy"; }; };
};
# If there are no updates, the value is passed through
testUpdateManyAttrsByPathNone = {
expr = updateManyAttrsByPath [] "something";
expected = "something";
};
# A single update to the root path is just like applying the function directly
testUpdateManyAttrsByPathSingleIncrement = {
expr = updateManyAttrsByPath [
{
path = [ ];
update = old: old + 1;
}
] 0;
expected = 1;
};
# Multiple updates can be applied are done in order
testUpdateManyAttrsByPathMultipleIncrements = {
expr = updateManyAttrsByPath [
{
path = [ ];
update = old: old + "a";
}
{
path = [ ];
update = old: old + "b";
}
{
path = [ ];
update = old: old + "c";
}
] "";
expected = "abc";
};
# If an update doesn't use the value, all previous updates are not evaluated
testUpdateManyAttrsByPathLazy = {
expr = updateManyAttrsByPath [
{
path = [ ];
update = old: old + throw "nope";
}
{
path = [ ];
update = old: "untainted";
}
] (throw "start");
expected = "untainted";
};
# Deeply nested attributes can be updated without affecting others
testUpdateManyAttrsByPathDeep = {
expr = updateManyAttrsByPath [
{
path = [ "a" "b" "c" ];
update = old: old + 1;
}
] {
a.b.c = 0;
a.b.z = 0;
a.y.z = 0;
x.y.z = 0;
};
expected = {
a.b.c = 1;
a.b.z = 0;
a.y.z = 0;
x.y.z = 0;
};
};
# Nested attributes are updated first
testUpdateManyAttrsByPathNestedBeforehand = {
expr = updateManyAttrsByPath [
{
path = [ "a" ];
update = old: old // { x = old.b; };
}
{
path = [ "a" "b" ];
update = old: old + 1;
}
] {
a.b = 0;
};
expected = {
a.b = 1;
a.x = 1;
};
};
}
+3
View File
@@ -120,6 +120,9 @@ import ../make-test-python.nix ({pkgs, ...}:
# Check if PeerTube is running
client.succeed("curl --fail http://peertube.local:9000/api/v1/config/about | jq -r '.instance.name' | grep 'PeerTube\ Test\ Server'")
# Check PeerTube CLI version
assert "${pkgs.peertube.version}" in server.succeed('su - peertube -s /bin/sh -c "peertube --version"')
client.shutdown()
server.shutdown()
database.shutdown()
@@ -425,6 +425,21 @@
license = lib.licenses.free;
};
}) {};
buffer-env = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "buffer-env";
ename = "buffer-env";
version = "0.2";
src = fetchurl {
url = "https://elpa.gnu.org/packages/buffer-env-0.2.tar";
sha256 = "1420qln8ww43d6gs70cnxab6lf10dhmk5yk29pwsvjk86afhwhwf";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/buffer-env.html";
license = lib.licenses.free;
};
}) {};
buffer-expose = callPackage ({ cl-lib ? null
, elpaBuild
, emacs
@@ -463,10 +478,10 @@
elpaBuild {
pname = "cape";
ename = "cape";
version = "0.6";
version = "0.7";
src = fetchurl {
url = "https://elpa.gnu.org/packages/cape-0.6.tar";
sha256 = "0pc0vvdb0pczz9n50wry6k6wkdaz3bqin07nmlxm8w1aqvapb2pr";
url = "https://elpa.gnu.org/packages/cape-0.7.tar";
sha256 = "1icgd5d55x7x7czw349v8m19mgq4yrx6j6zhbb666h2hdkbnykbg";
};
packageRequires = [ emacs ];
meta = {
@@ -609,6 +624,21 @@
license = lib.licenses.free;
};
}) {};
code-cells = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "code-cells";
ename = "code-cells";
version = "0.2";
src = fetchurl {
url = "https://elpa.gnu.org/packages/code-cells-0.2.tar";
sha256 = "19v6a7l23646diazl0rzjxjsam12hm08hgyq8hdcc7l3xl840ghk";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/code-cells.html";
license = lib.licenses.free;
};
}) {};
coffee-mode = callPackage ({ elpaBuild, fetchurl, lib }:
elpaBuild {
pname = "coffee-mode";
@@ -711,10 +741,10 @@
elpaBuild {
pname = "consult";
ename = "consult";
version = "0.15";
version = "0.16";
src = fetchurl {
url = "https://elpa.gnu.org/packages/consult-0.15.tar";
sha256 = "0hsmxaiadb8smi1hk90n9napqrygh9rvj7g9a3d9isi47yrbg693";
url = "https://elpa.gnu.org/packages/consult-0.16.tar";
sha256 = "172w4d9hbzj98j1gyfhzw2zz4fpw90ak8ccg35fngwjlk9mjdrzk";
};
packageRequires = [ emacs ];
meta = {
@@ -741,10 +771,10 @@
elpaBuild {
pname = "corfu";
ename = "corfu";
version = "0.19";
version = "0.20";
src = fetchurl {
url = "https://elpa.gnu.org/packages/corfu-0.19.tar";
sha256 = "0jilhsddzjm0is7kqdklpr2ih50k2c3sik2i9vlgcizxqaqss97c";
url = "https://elpa.gnu.org/packages/corfu-0.20.tar";
sha256 = "03yycimbqs4ixz7lxp7f1b4fipq6kl2bbjnl87r0n9x8mzfslbdl";
};
packageRequires = [ emacs ];
meta = {
@@ -756,10 +786,10 @@
elpaBuild {
pname = "coterm";
ename = "coterm";
version = "1.4";
version = "1.5";
src = fetchurl {
url = "https://elpa.gnu.org/packages/coterm-1.4.tar";
sha256 = "0cs9hqffkzlkkpcfhdh67gg3vzvffrjawmi89q7x9p52fk9rcxp6";
url = "https://elpa.gnu.org/packages/coterm-1.5.tar";
sha256 = "1v8cl3bw5z0f36iw8x3gcgiizml74m1kfxfrasyfx8k01nbxcfs8";
};
packageRequires = [ emacs ];
meta = {
@@ -921,10 +951,10 @@
elpaBuild {
pname = "debbugs";
ename = "debbugs";
version = "0.30";
version = "0.31";
src = fetchurl {
url = "https://elpa.gnu.org/packages/debbugs-0.30.tar";
sha256 = "05yy1hhxd59rhricb14iai71w681222sv0i703yrgg868mphl7sb";
url = "https://elpa.gnu.org/packages/debbugs-0.31.tar";
sha256 = "11vdjrn5m5g6pirw8jv0602fbwwgdhazfrrwxxplii8x02gqk0sr";
};
packageRequires = [ emacs soap-client ];
meta = {
@@ -1127,16 +1157,16 @@
license = lib.licenses.free;
};
}) {};
dts-mode = callPackage ({ elpaBuild, fetchurl, lib }:
dts-mode = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "dts-mode";
ename = "dts-mode";
version = "0.1.1";
version = "1.0";
src = fetchurl {
url = "https://elpa.gnu.org/packages/dts-mode-0.1.1.tar";
sha256 = "1hdbf7snfbg3pfg1vhbak1gq5smaklvaqj1y9mjcnxyipqi47q28";
url = "https://elpa.gnu.org/packages/dts-mode-1.0.tar";
sha256 = "0ihwqkv1ddysjgxh01vpayv3ia0vx55ny8ym0mi5b4iz95idj60s";
};
packageRequires = [];
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/dts-mode.html";
license = lib.licenses.free;
@@ -1236,10 +1266,10 @@
elpaBuild {
pname = "eev";
ename = "eev";
version = "20220224";
version = "20220316";
src = fetchurl {
url = "https://elpa.gnu.org/packages/eev-20220224.tar";
sha256 = "008750fm7w5k9yrkwyxgank02smxki2857cd2d8qvhsa2qnz6c5n";
url = "https://elpa.gnu.org/packages/eev-20220316.tar";
sha256 = "1ax487ca2rsq6ck2g0694fq3z7a89dy4pcns15wd7ygkf3a4sykf";
};
packageRequires = [ emacs ];
meta = {
@@ -1354,10 +1384,10 @@
elpaBuild {
pname = "embark";
ename = "embark";
version = "0.15";
version = "0.16";
src = fetchurl {
url = "https://elpa.gnu.org/packages/embark-0.15.tar";
sha256 = "0dr97549xrs9j1fhnqpdspvbfxnzqvzvpi8qc91fd2v4jsfwlklh";
url = "https://elpa.gnu.org/packages/embark-0.16.tar";
sha256 = "1fgsy4nqwl1cah287fbabpi9lwmbiyn36c4z918514iwr5hgrmfi";
};
packageRequires = [ emacs ];
meta = {
@@ -1374,10 +1404,10 @@
elpaBuild {
pname = "embark-consult";
ename = "embark-consult";
version = "0.4";
version = "0.5";
src = fetchurl {
url = "https://elpa.gnu.org/packages/embark-consult-0.4.tar";
sha256 = "1z0xc11y59lagfsd2raps4iz68hvw132ff0qynbmvgw63mp1w4yy";
url = "https://elpa.gnu.org/packages/embark-consult-0.5.tar";
sha256 = "1z4n5gm30yan3gg2aqwb1ygql56v9sg2px1dr0gdl32lgmn9kvg6";
};
packageRequires = [ consult emacs embark ];
meta = {
@@ -2419,6 +2449,21 @@
license = lib.licenses.free;
};
}) {};
logos = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "logos";
ename = "logos";
version = "0.2.0";
src = fetchurl {
url = "https://elpa.gnu.org/packages/logos-0.2.0.tar";
sha256 = "0cqmgvgyyn656rg60bbnxr2flmnw9h4z5i2w98bsf4krlp3s4i6x";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/logos.html";
license = lib.licenses.free;
};
}) {};
map = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "map";
@@ -2438,10 +2483,10 @@
elpaBuild {
pname = "marginalia";
ename = "marginalia";
version = "0.12";
version = "0.13";
src = fetchurl {
url = "https://elpa.gnu.org/packages/marginalia-0.12.tar";
sha256 = "01dy9dg2ac6s84ffcxn2pw1y75pinkdvxg1j2g3vijwjd5hpfakq";
url = "https://elpa.gnu.org/packages/marginalia-0.13.tar";
sha256 = "1d5y3d2plkxnmm4458l0gfpim6q3vzps3bsfakvnzf86hh5nm77j";
};
packageRequires = [ emacs ];
meta = {
@@ -3006,6 +3051,21 @@
license = lib.licenses.free;
};
}) {};
org-modern = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "org-modern";
ename = "org-modern";
version = "0.3";
src = fetchurl {
url = "https://elpa.gnu.org/packages/org-modern-0.3.tar";
sha256 = "14f5grai6k9xbpyc33pcpgi6ka8pgy7vcnqqi77nclzq2yxhl9c1";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/org-modern.html";
license = lib.licenses.free;
};
}) {};
org-real = callPackage ({ boxy, elpaBuild, emacs, fetchurl, lib, org }:
elpaBuild {
pname = "org-real";
@@ -3025,10 +3085,10 @@
elpaBuild {
pname = "org-remark";
ename = "org-remark";
version = "1.0.2";
version = "1.0.4";
src = fetchurl {
url = "https://elpa.gnu.org/packages/org-remark-1.0.2.tar";
sha256 = "12g9kmr0gfs1pi1410akvcaiax0dswbw09sgqbib58mikb3074nv";
url = "https://elpa.gnu.org/packages/org-remark-1.0.4.tar";
sha256 = "1mbsp92vw8p8l2pxs53r7wafrplrwfx0rmfk723cl9hpvghvl9vf";
};
packageRequires = [ emacs org ];
meta = {
@@ -3055,10 +3115,10 @@
elpaBuild {
pname = "org-translate";
ename = "org-translate";
version = "0.1.3";
version = "0.1.4";
src = fetchurl {
url = "https://elpa.gnu.org/packages/org-translate-0.1.3.el";
sha256 = "0m52vv1961kf8f1gw8c4n02hxcvhdw3wgzmcxvjcdijfnjkarm33";
url = "https://elpa.gnu.org/packages/org-translate-0.1.4.tar";
sha256 = "0dvg3h8mmzlqfg60rwxjgy17sqv84p6nj2ngjdafkp9a4halv0g7";
};
packageRequires = [ emacs org ];
meta = {
@@ -3096,6 +3156,21 @@
license = lib.licenses.free;
};
}) {};
osm = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "osm";
ename = "osm";
version = "0.6";
src = fetchurl {
url = "https://elpa.gnu.org/packages/osm-0.6.tar";
sha256 = "0p19qyx4gw1rn2f5hlxa7gx1sph2z5vjw7cnxwpjhbbr0430zzwb";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/osm.html";
license = lib.licenses.free;
};
}) {};
other-frame-window = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "other-frame-window";
@@ -3220,10 +3295,10 @@
elpaBuild {
pname = "phps-mode";
ename = "phps-mode";
version = "0.4.17";
version = "0.4.19";
src = fetchurl {
url = "https://elpa.gnu.org/packages/phps-mode-0.4.17.tar";
sha256 = "1j3whjxhjawl1i5449yf56ljbazx90272gr8zfr36s8h8rijfjn9";
url = "https://elpa.gnu.org/packages/phps-mode-0.4.19.tar";
sha256 = "1l9ivg6x084r235jpd90diaa4v29r1kyfsblzsb8blskb9ka5b56";
};
packageRequires = [ emacs ];
meta = {
@@ -4245,10 +4320,10 @@
elpaBuild {
pname = "tempel";
ename = "tempel";
version = "0.2";
version = "0.3";
src = fetchurl {
url = "https://elpa.gnu.org/packages/tempel-0.2.tar";
sha256 = "0xn2vqaxqv04zmlp5hpb9vxkbs3bv4dk22xs5j5fqjid2hcv3714";
url = "https://elpa.gnu.org/packages/tempel-0.3.tar";
sha256 = "0aa3f3sfvibp3wl401fdlww70axl9hxasbza70i44vqq0y9csv40";
};
packageRequires = [ emacs ];
meta = {
@@ -4395,16 +4470,16 @@
license = lib.licenses.free;
};
}) {};
undo-tree = callPackage ({ elpaBuild, fetchurl, lib }:
undo-tree = callPackage ({ elpaBuild, emacs, fetchurl, lib, queue }:
elpaBuild {
pname = "undo-tree";
ename = "undo-tree";
version = "0.7.5";
version = "0.8.2";
src = fetchurl {
url = "https://elpa.gnu.org/packages/undo-tree-0.7.5.el";
sha256 = "00admi87gqm0akhfqm4dcp9fw8ihpygy030955jswkha4zs7lw2p";
url = "https://elpa.gnu.org/packages/undo-tree-0.8.2.tar";
sha256 = "0fgir9pls9439zwyl3j2yvrwx9wigisj1jil4ijma27dfrpgm288";
};
packageRequires = [];
packageRequires = [ emacs queue ];
meta = {
homepage = "https://elpa.gnu.org/packages/undo-tree.html";
license = lib.licenses.free;
@@ -4605,10 +4680,10 @@
elpaBuild {
pname = "vertico";
ename = "vertico";
version = "0.20";
version = "0.21";
src = fetchurl {
url = "https://elpa.gnu.org/packages/vertico-0.20.tar";
sha256 = "1hg91f74klbwisxzp74d020v42l28wik9y1lg3hrbdspnhlhsdrl";
url = "https://elpa.gnu.org/packages/vertico-0.21.tar";
sha256 = "0aw3hkr46zghvyp7s2b6ziqavsf1zpml4bbxcvs4kvm05qa0y1hv";
};
packageRequires = [ emacs ];
meta = {
@@ -4933,10 +5008,10 @@
elpaBuild {
pname = "xref";
ename = "xref";
version = "1.4.0";
version = "1.4.1";
src = fetchurl {
url = "https://elpa.gnu.org/packages/xref-1.4.0.tar";
sha256 = "1ng03fyhpisa1v99sc96mpr7hna1pmg4gdc61p86r8lka9m5gqfx";
url = "https://elpa.gnu.org/packages/xref-1.4.1.tar";
sha256 = "1vbpplw0sngymmawi940nlqmncqznb5vp7zi0ib8v66g3y33ijrf";
};
packageRequires = [ emacs ];
meta = {
@@ -258,10 +258,10 @@
elpaBuild {
pname = "cider";
ename = "cider";
version = "1.2.0";
version = "1.3.0";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/cider-1.2.0.tar";
sha256 = "1dkn5mcp4vyk6h4mqrn7fcqjs4h0dx1y1b1pcg2jpyx11mhdpjxf";
url = "https://elpa.nongnu.org/nongnu/cider-1.3.0.tar";
sha256 = "10kg30s0gb09l0z17v2hqxy9v5pscnpqp5dng62cjh0x3hdi4i7x";
};
packageRequires = [
clojure-mode
@@ -281,10 +281,10 @@
elpaBuild {
pname = "clojure-mode";
ename = "clojure-mode";
version = "5.13.0";
version = "5.14.0";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/clojure-mode-5.13.0.tar";
sha256 = "16xll0sp7mqzwldfsihp7j3dlm6ps1l1awi122ff8w7xph7b0wfh";
url = "https://elpa.nongnu.org/nongnu/clojure-mode-5.14.0.tar";
sha256 = "1lirhp6m5r050dm73nrslgzdgy6rdbxn02wal8n52q37m2armra2";
};
packageRequires = [ emacs ];
meta = {
@@ -292,6 +292,21 @@
license = lib.licenses.free;
};
}) {};
coffee-mode = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "coffee-mode";
ename = "coffee-mode";
version = "0.6.3";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/coffee-mode-0.6.3.tar";
sha256 = "1yv1b5rzlj7cpz7gsv2j07mr8z6lkwxp1cldkrc6xlhcbqh8795a";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/coffee-mode.html";
license = lib.licenses.free;
};
}) {};
color-theme-tangotango = callPackage ({ color-theme
, elpaBuild
, fetchurl
@@ -688,16 +703,21 @@
license = lib.licenses.free;
};
}) {};
geiser = callPackage ({ elpaBuild, emacs, fetchurl, lib, transient }:
geiser = callPackage ({ elpaBuild
, emacs
, fetchurl
, lib
, project
, transient }:
elpaBuild {
pname = "geiser";
ename = "geiser";
version = "0.22.2";
version = "0.23";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/geiser-0.22.2.tar";
sha256 = "0mva8arcxj1kf6g7s6f6ik70gradmbnhhiaf7rdkycxdd8kdqn7i";
url = "https://elpa.nongnu.org/nongnu/geiser-0.23.tar";
sha256 = "1g82jaldq4rxiyhnzyqf82scys1545djc3y2nn9ih292g8rwqqms";
};
packageRequires = [ emacs transient ];
packageRequires = [ emacs project transient ];
meta = {
homepage = "https://elpa.gnu.org/packages/geiser.html";
license = lib.licenses.free;
@@ -782,10 +802,10 @@
elpaBuild {
pname = "geiser-guile";
ename = "geiser-guile";
version = "0.21.2";
version = "0.23";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/geiser-guile-0.21.2.tar";
sha256 = "06mr8clsk8fj73q4ln90i28xs8axl4sd68wiyl41kgg9w5y78cb7";
url = "https://elpa.nongnu.org/nongnu/geiser-guile-0.23.tar";
sha256 = "0fxn15kpljkdj1vvrv51232km49z2sbr6q9ghpvqwkgi0z9khxz6";
};
packageRequires = [ emacs geiser ];
meta = {
@@ -2210,10 +2230,10 @@
elpaBuild {
pname = "web-mode";
ename = "web-mode";
version = "17.1.4";
version = "17.2.0";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/web-mode-17.1.4.tar";
sha256 = "0863p8ikc8yqw0dahswi5s9q7v7rg1hasdxz5jwkd796fh1ih78n";
url = "https://elpa.nongnu.org/nongnu/web-mode-17.2.0.tar";
sha256 = "15m7rx7sz7f6h0x90811bcl8gdcpn216ia48nmkqhqrm85synlja";
};
packageRequires = [ emacs ];
meta = {
File diff suppressed because it is too large Load Diff
@@ -7,12 +7,12 @@
stdenv.mkDerivation rec {
pname = "pixinsight";
version = "1.8.8-12";
version = "1.8.9";
src = requireFile rec {
name = "PI-linux-x64-${version}-20211229-c.tar.xz";
name = "PI-linux-x64-${version}-20220313-c.tar.xz";
url = "https://pixinsight.com/";
sha256 = "7095b83a276f8000c9fe50caadab4bf22a248a880e77b63e0463ad8d5469f617";
sha256 = "sha256-LvrTB8fofuysxR3OoZ2fkkOQU62yUAu8ePOczJG2uqU=";
message = ''
PixInsight is available from ${url} and requires a commercial (or trial) license.
After a license has been obtained, PixInsight can be downloaded from the software distribution
+2 -2
View File
@@ -2,13 +2,13 @@
let
pname = "anytype";
version = "0.23.5";
version = "0.24.0";
name = "Anytype-${version}";
nameExecutable = pname;
src = fetchurl {
url = "https://at9412003.fra1.digitaloceanspaces.com/Anytype-${version}.AppImage";
name = "Anytype-${version}.AppImage";
sha256 = "sha256-kVM/F0LsIgMtur8jHZzUWkFIcfHe0i8y9Zxe3z5SkVM=";
sha256 = "sha256-QyexUZNn7QGHjXYO/+1kUebTmAzdVpwG9Ile8Uh3i8Q=";
};
appimageContents = appimageTools.extractType2 { inherit name src; };
in
+2 -2
View File
@@ -5,13 +5,13 @@
buildGoModule rec {
pname = "dasel";
version = "1.23.0";
version = "1.24.0";
src = fetchFromGitHub {
owner = "TomWright";
repo = "dasel";
rev = "v${version}";
sha256 = "sha256-MUF57begai6yMYLPC5dnyO9S39uHogB+Ie3qDA46Cn8=";
sha256 = "sha256-Em+WAI8G492h7FJTnTHFj5L7M4xBZhW4qC0MMc2JRUU=";
};
vendorSha256 = "sha256-NP+Is7Dxz4LGzx5vpv8pJOJhodAYHia1JXYfhJD54as=";
@@ -2,11 +2,11 @@
buildPythonApplication rec {
pname = "gallery_dl";
version = "1.20.5";
version = "1.21.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-UJAoxRybEYxQY+7l/szSj9fy1J552yaxF3MdaEmDiQQ=";
sha256 = "sha256-D/K+C7IX4VGv+FFYuPQEqwVYSjiDcSeElVunVMiFWI8=";
};
propagatedBuildInputs = [ requests yt-dlp ];
+3 -3
View File
@@ -2,11 +2,11 @@
rustPlatform.buildRustPackage rec {
pname = "sigi";
version = "3.0.2";
version = "3.0.3";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-N+8DdokiYW5mHIQJisdTja8xMVGip37X6c/xBYnQaRU=";
sha256 = "sha256-tjhNE20GE1L8kvhdI5Mc90I75q8szOIV40vq2CBt98U=";
};
nativeBuildInputs = [ installShellFiles ];
@@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
installManPage sigi.1
'';
cargoSha256 = "sha256-vO9ocTDcGt/T/sLCP+tCHXihV1H2liFDjI7OhhmPd3I=";
cargoSha256 = "sha256-0e0r6hfXGJmrc6tgCqq2dQXu2MhkThViZwdG3r3g028=";
passthru.tests.version = testVersion { package = sigi; };
@@ -5,7 +5,6 @@
, appstream-glib
, dbus
, desktop-file-utils
, elementary-icon-theme
, fetchFromGitHub
, fetchpatch
, flatpak
@@ -65,7 +64,6 @@ stdenv.mkDerivation rec {
buildInputs = [
appstream
elementary-icon-theme
flatpak
glib
granite
@@ -13,7 +13,6 @@
, granite
, libgee
, libhandy
, elementary-icon-theme
, appstream
, wrapGAppsHook
}:
@@ -42,7 +41,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
elementary-icon-theme
granite
gtk3
libgee
@@ -11,7 +11,6 @@
, vala
, wrapGAppsHook
, clutter
, elementary-icon-theme
, evolution-data-server
, folks
, geoclue2
@@ -48,7 +47,6 @@ stdenv.mkDerivation rec {
buildInputs = [
clutter
elementary-icon-theme
evolution-data-server
folks
geoclue2
@@ -13,7 +13,6 @@
, python3
, vala
, wrapGAppsHook
, elementary-icon-theme
, glib
, granite
, gst_all_1
@@ -57,7 +56,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
elementary-icon-theme
glib
granite
gtk3
@@ -13,7 +13,6 @@
, vala
, wrapGAppsHook
, editorconfig-core-c
, elementary-icon-theme
, granite
, gtk3
, gtksourceview4
@@ -61,7 +60,6 @@ stdenv.mkDerivation rec {
buildInputs = [
editorconfig-core-c
elementary-icon-theme
granite
gtk3
gtksourceview4
@@ -13,7 +13,6 @@
, granite
, libgee
, libhandy
, elementary-icon-theme
, gettext
, wrapGAppsHook
, appstream
@@ -51,7 +50,6 @@ stdenv.mkDerivation rec {
buildInputs = [
appstream
elementary-icon-theme
granite
gtk3
libgee
@@ -22,7 +22,6 @@
, sqlite
, zeitgeist
, glib-networking
, elementary-icon-theme
, libcloudproviders
, libgit2-glib
, wrapGAppsHook
@@ -57,7 +56,6 @@ stdenv.mkDerivation rec {
buildInputs = [
bamf
elementary-dock
elementary-icon-theme
glib
granite
gtk3
@@ -17,7 +17,6 @@
, libgdata
, sqlite
, granite
, elementary-icon-theme
, evolution-data-server
, appstream
, wrapGAppsHook
@@ -57,7 +56,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
elementary-icon-theme
evolution-data-server
folks
granite
@@ -10,7 +10,6 @@
, python3
, vala
, wrapGAppsHook
, elementary-icon-theme
, glib
, granite
, gst_all_1
@@ -61,7 +60,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
elementary-icon-theme
glib
granite
gtk3
@@ -28,7 +28,6 @@
, libwebp
, appstream
, wrapGAppsHook
, elementary-icon-theme
}:
stdenv.mkDerivation rec {
@@ -63,7 +62,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
elementary-icon-theme
geocode-glib
gexiv2
granite
@@ -14,7 +14,6 @@
, libgee
, libhandy
, libcanberra
, elementary-icon-theme
, wrapGAppsHook
}:
@@ -49,7 +48,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
elementary-icon-theme
granite
gtk3
libcanberra
@@ -11,7 +11,6 @@
, vala
, wrapGAppsHook
, clutter-gtk
, elementary-icon-theme
, evolution-data-server
, granite
, geoclue2
@@ -48,7 +47,6 @@ stdenv.mkDerivation rec {
buildInputs = [
clutter-gtk
elementary-icon-theme
evolution-data-server
granite
geoclue2
@@ -16,7 +16,6 @@
, libnotify
, vte
, libgee
, elementary-icon-theme
, appstream
, pcre2
, wrapGAppsHook
@@ -55,7 +54,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
elementary-icon-theme
granite
gtk3
libgee
@@ -15,7 +15,6 @@
, clutter-gst
, clutter-gtk
, gst_all_1
, elementary-icon-theme
, wrapGAppsHook
}:
@@ -43,7 +42,6 @@ stdenv.mkDerivation rec {
buildInputs = [
clutter-gst
clutter-gtk
elementary-icon-theme
granite
gtk3
libgee
@@ -2,7 +2,6 @@
, stdenv
, desktop-file-utils
, nix-update-script
, elementary-icon-theme
, fetchFromGitHub
, flatpak
, gettext
@@ -43,7 +42,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
elementary-icon-theme
flatpak
glib
granite
@@ -13,7 +13,6 @@
, libhandy
, granite
, gettext
, elementary-icon-theme
, wrapGAppsHook
}:
@@ -39,7 +38,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
elementary-icon-theme
granite
gtk3
libgee
@@ -60,7 +60,6 @@ stdenv.mkDerivation rec {
buildInputs = [
accountsservice
clutter-gtk # else we get could not generate cargs for mutter-clutter-2
elementary-gtk-theme
elementary-icon-theme
gnome-settings-daemon
gdk-pixbuf
@@ -91,8 +90,11 @@ stdenv.mkDerivation rec {
# for the compositor
--prefix PATH : "$out/bin"
# the theme is hardcoded
# the GTK theme is hardcoded
--prefix XDG_DATA_DIRS : "${elementary-gtk-theme}/share"
# the icon theme is hardcoded
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
)
'';
@@ -13,7 +13,6 @@
, glib
, granite
, libgee
, elementary-icon-theme
, elementary-settings-daemon
, gettext
, libhandy
@@ -56,7 +55,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
elementary-icon-theme
elementary-settings-daemon # settings schema
glib
granite
@@ -14,7 +14,6 @@
, granite
, libgee
, libhandy
, elementary-icon-theme
, wrapGAppsHook
}:
@@ -49,7 +48,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
elementary-icon-theme
glib
granite
gtk3
@@ -19,7 +19,6 @@
, gnome-desktop
, mutter
, clutter
, elementary-icon-theme
, gnome-settings-daemon
, wrapGAppsHook
, gexiv2
@@ -67,7 +66,6 @@ stdenv.mkDerivation rec {
buildInputs = [
bamf
clutter
elementary-icon-theme
gnome-settings-daemon
gexiv2
gnome-desktop
@@ -46,7 +46,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
elementary-gtk-theme
elementary-icon-theme
gala
granite
@@ -64,8 +63,11 @@ stdenv.mkDerivation rec {
preFixup = ''
gappsWrapperArgs+=(
# this theme is required
# this GTK theme is required
--prefix XDG_DATA_DIRS : "${elementary-gtk-theme}/share"
# the icon theme is required
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
)
'';
@@ -7,7 +7,7 @@
stdenv.mkDerivation rec {
pname = "belcard";
version = "5.0.55";
version = "5.1.10";
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
group = "BC";
repo = pname;
rev = version;
sha256 = "sha256-5KHmyNplrVADVlD2IBPwEe3vbEjAMNlz+p5aIBHb6kI=";
sha256 = "sha256-ZxO0Y4R04T+3K+08fEJ9krWfYSodQLrjBZYbGrKOrXI=";
};
buildInputs = [ bctoolbox belr ];
+2 -2
View File
@@ -6,7 +6,7 @@
stdenv.mkDerivation rec {
pname = "belr";
version = "5.0.55";
version = "5.1.3";
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
group = "BC";
repo = pname;
rev = version;
sha256 = "sha256-P3oDlaT3rN1lRhpKjbGBk7a0hJAQGQcWydFM45GMUU4=";
sha256 = "sha256-0JDwNKqPkzbXqDhgMV+okPMHPFJwmLwLsDrdD55Jcs4=";
};
buildInputs = [ bctoolbox ];
@@ -86,12 +86,8 @@ let
};
in {
libressl_3_2 = generic {
version = "3.2.7";
sha256 = "112bjfrwwqlk0lak7fmfhcls18ydf62cp7gxghf4gklpfl1zyckw";
};
libressl_3_4 = generic {
version = "3.4.2";
sha256 = "sha256-y4LKfVRzNpFzUvvSPbL8SDxsRNNRV7MngCFOx0GXs84=";
version = "3.4.3";
sha256 = "sha256-/4i//jVIGLPM9UXjyv5FTFAxx6dyFwdPUzJx1jw38I0=";
};
}
+2 -2
View File
@@ -11,7 +11,7 @@
stdenv.mkDerivation rec {
pname = "lime";
version = "5.0.0";
version = "5.0.53";
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
group = "BC";
repo = pname;
rev = version;
sha256 = "sha256-11vvvA+pud/eOyYsbRKVvGfiyhwdhNPfRQSfaquUro8=";
sha256 = "sha256-M+KdauIVsN3c+cEPw4CaMzXnQZwAPNXeJCriuk9NCWM=";
};
buildInputs = [ bctoolbox soci belle-sip sqlite boost ];
@@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "aws-lambda-builders";
version = "1.13.0";
version = "1.14.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "awslabs";
repo = "aws-lambda-builders";
rev = "v${version}";
sha256 = "sha256-t04g65TPeOYgEQw6kPJrlJN1ssQrsN9kl7g69J4pPwo=";
sha256 = "sha256-ypzo0cYvP8LV74cQMzHIFDk3LH0bbEB4UxPxRuqe2fc=";
};
propagatedBuildInputs = [
@@ -1,7 +1,6 @@
{ buildPythonPackage
, fetchPypi
, pytest
, six
, tqdm
, pyyaml
, docopt
@@ -10,25 +9,25 @@
, args
, schema
, responses
, backports_csv
, isPy3k
, lib
, glibcLocales
, setuptools
, urllib3
, pythonOlder
}:
buildPythonPackage rec {
pname = "internetarchive";
version = "2.3.0";
version = "3.0.0";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "fa89dc4be3e0a0aee24810a4a754e24adfd07edf710c645b4f642422c6078b8d";
sha256 = "sha256-fRcqsT8p/tqXUpU2/9lAEF1IT8Cy5KK0+jKaeVwZshI=";
};
propagatedBuildInputs = [
six
tqdm
pyyaml
docopt
@@ -38,7 +37,7 @@ buildPythonPackage rec {
schema
setuptools
urllib3
] ++ lib.optionals (!isPy3k) [ backports_csv ];
];
checkInputs = [ pytest responses glibcLocales ];
@@ -550,14 +550,6 @@ in
"--with-libvirt-include=${libvirt}/include"
"--with-libvirt-lib=${libvirt}/lib"
];
dontBuild = false;
postPatch = ''
# https://gitlab.com/libvirt/libvirt-ruby/-/commit/43543991832c9623c00395092bcfb9e178243ba4
substituteInPlace ext/libvirt/common.c \
--replace 'st.h' 'ruby/st.h'
substituteInPlace ext/libvirt/domain.c \
--replace 'st.h' 'ruby/st.h'
'';
};
ruby-lxc = attrs: {
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "flow";
version = "0.173.0";
version = "0.174.0";
src = fetchFromGitHub {
owner = "facebook";
repo = "flow";
rev = "v${version}";
sha256 = "sha256-F0t85/sq9p+eNEf2XAGxw+ZWeRgUbkhrKFdGASijuAs=";
sha256 = "sha256-s4wu7UW3OKz2xQpNpZZeDjyDdNbRw9w0kauiPWo/SMA=";
};
installPhase = ''
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config meson ninja cmake (python3.withPackages (ps: [ ps.setuptools ])) ];
# meson's find_library seems to not use our compiler wrapper if static paraemter
# meson's find_library seems to not use our compiler wrapper if static parameter
# is either true/false... We work around by also providing LIBRARY_PATH
preConfigure = ''
LIBRARY_PATH=""
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "mill";
version = "0.10.1";
version = "0.10.2";
src = fetchurl {
url = "https://github.com/com-lihaoyi/mill/releases/download/${version}/${version}-assembly";
hash = "sha256:hYQOmnJjsOIIri5H0/B5LhixwfiLxxpVoN4ON1NUkWg=";
hash = "sha256-lx5saJdGsMS7DLaUngoauzFS1UG4QYvrELEvTjIa1oQ=";
};
nativeBuildInputs = [ makeWrapper ];
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "cloud-nuke";
version = "0.11.0";
version = "0.11.1";
src = fetchFromGitHub {
owner = "gruntwork-io";
repo = pname;
rev = "v${version}";
sha256 = "sha256-G1RQEKb3vK8lg0jakCtIMgQXmWqfsq0QWHwU8TAbBbE=";
sha256 = "sha256-BYrJ0I8ZARppy+7CJPfAm/4SIEupGZh1qd1ghZWOD/8=";
};
vendorSha256 = "sha256-McCbogZvgm9pnVjay9O2CxAh+653JnDMcU4CHD0PTPI=";
+2 -2
View File
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "earthly";
version = "0.6.10";
version = "0.6.11";
src = fetchFromGitHub {
owner = "earthly";
repo = "earthly";
rev = "v${version}";
sha256 = "sha256-CzVcoIvf9sqomua5AJtNpCnGfPmCNJMwex/l7p+hEfw=";
sha256 = "sha256-awlE+k4Oa64Z2n+XbeDuezea+5D0ol7hyscVY6j52gI=";
};
vendorSha256 = "sha256-uUx9C7uEdXjhDWxehGHuhuFQXdUjZAXK3qogESkRm8E=";
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "golangci-lint";
version = "1.44.2";
version = "1.45.0";
src = fetchFromGitHub {
owner = "golangci";
repo = "golangci-lint";
rev = "v${version}";
sha256 = "sha256-RMZZLvCJcTMzHOzUfT6aEC21T5dCwu1YOUuQ9PLS3fc=";
sha256 = "sha256-nIkDtWUGKSeuGLCgyAYzrIhEk2INX0gZUCOmq+BKbDY=";
};
vendorSha256 = "sha256-X2hZ4BQgYHI1mx/Ywky0oo7IMtrppu+rLq2LRLPH3fY=";
vendorSha256 = "sha256-ruthLNtMYMi2q3fuxOJSsJw5w3uqZi88yJ3BFgNCAHs=";
doCheck = false;
@@ -14,10 +14,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1759s0rz6qgsw86dds1z4jzb3fvizqsk11j5q6z7lc5n404w6i23";
sha256 = "1yff4s5b8wcrk9ldils2k84l46m9nxr0my0wxchzdmgjbjdfsvww";
type = "gem";
};
version = "0.79.0";
version = "0.92.0";
};
fog-core = {
dependencies = ["builder" "excon" "formatador" "mime-types"];
@@ -25,10 +25,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0bwqm9n69y5y0a5iickr358z7w4hml3flqwfz8b7cnj1ldabhnjn";
sha256 = "06m6hxq8vspx9h9bgc2s19m56jzasvl45vblrfv1q5h1qg1k6amw";
type = "gem";
};
version = "2.2.3";
version = "2.3.0";
};
fog-json = {
dependencies = ["fog-core" "multi_json"];
@@ -47,10 +47,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1s62ihwxlwgp84xw32wg6hwcx4422v20c7g7azd0xslb91y1ln1r";
sha256 = "1s8b3bsajwjyrjs53h0nrfrpzzgi8igsrslprhr6fgl80ig3plld";
type = "gem";
};
version = "0.8.0";
version = "0.9.0";
};
fog-xml = {
dependencies = ["fog-core" "nokogiri"];
@@ -58,30 +58,30 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "043lwdw2wsi6d55ifk0w3izi5l1d1h0alwyr3fixic7b94kc812n";
sha256 = "1vyyb2429xqzys39xyk2r3fal80qqn397aj2kqsjrgg2y6m59i41";
type = "gem";
};
version = "0.1.3";
version = "0.1.4";
};
formatador = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1gc26phrwlmlqrmz4bagq1wd5b7g64avpx0ghxr9xdxcvmlii0l0";
sha256 = "1l06bv4avphbdmr1y4g0rqlczr38k6r65b3zghrbj2ynyhm3xqjl";
type = "gem";
};
version = "0.2.5";
version = "1.1.0";
};
json = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0lrirj0gw420kw71bjjlqkqhqbrplla61gbv1jzgsz6bv90qr3ci";
sha256 = "1z9grvjyfz16ag55hg522d3q4dh07hf391sf9s96npc0vfi85xkz";
type = "gem";
};
version = "2.5.1";
version = "2.6.1";
};
mime-types = {
dependencies = ["mime-types-data"];
@@ -89,30 +89,30 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1zj12l9qk62anvk9bjvandpa6vy4xslil15wl6wlivyf51z773vh";
sha256 = "0ipw892jbksbxxcrlx9g5ljq60qx47pm24ywgfbyjskbcl78pkvb";
type = "gem";
};
version = "3.3.1";
version = "3.4.1";
};
mime-types-data = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1phcq7z0zpipwd7y4fbqmlaqghv07fjjgrx99mwq3z3n0yvy7fmi";
sha256 = "003gd7mcay800k2q4pb2zn8lwwgci4bhi42v2jvlidm8ksx03i6q";
type = "gem";
};
version = "3.2021.0225";
version = "3.2022.0105";
};
mini_portile2 = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1hdbpmamx8js53yk3h8cqy12kgv6ca06k0c9n3pxh6b6cjfs19x7";
sha256 = "0rapl1sfmfi3bfr68da4ca16yhc0pp93vjwkj7y3rdqrzy3b41hy";
type = "gem";
};
version = "2.5.0";
version = "2.8.0";
};
multi_json = {
groups = ["default"];
@@ -130,40 +130,50 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0b51df8fwadak075cvi17w0nch6qz1r66564qp29qwfj67j9qp0p";
sha256 = "1p6b3q411h2mw4dsvhjrp1hh66hha5cm69fqg85vn2lizz71n6xz";
type = "gem";
};
version = "1.11.2";
version = "1.13.3";
};
racc = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "178k7r0xn689spviqzhvazzvxfq6fyjldxb3ywjbgipbfi4s8j1g";
sha256 = "0la56m0z26j3mfn1a9lf2l03qx1xifanndf9p3vx1azf6sqy7v9d";
type = "gem";
};
version = "1.5.2";
version = "1.6.0";
};
rexml = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "08ximcyfjy94pm1rhcx04ny1vx2sk0x4y185gzn86yfsbzwkng53";
type = "gem";
};
version = "3.2.5";
};
ruby-libvirt = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0d754d6pgdqyq52pl9hp0x38q1vn3vf9nz4nm5gqdj5i4fw7pba6";
sha256 = "0rnmbfhdz270fky0cm8w1i73gkrnlf3s1hdkm5yxjkdbvapwvjsd";
type = "gem";
};
version = "0.7.1";
version = "0.8.0";
};
vagrant-libvirt = {
dependencies = ["fog-core" "fog-libvirt" "nokogiri"];
dependencies = ["fog-core" "fog-libvirt" "nokogiri" "rexml"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "07j30w23syvzrhznad9dkh1ks4lzxzi7ak2966b7i7wr4kz8x1hp";
sha256 = "07fhsgqx9iyni41z1lhfmm4wq6cbiyydkmvmib28jbgyznlxjmzv";
type = "gem";
};
version = "0.4.0";
version = "0.7.0";
};
}
+2 -2
View File
@@ -8,7 +8,7 @@ let
in
buildNodejs {
inherit enableNpm;
version = "12.22.10";
sha256 = "sha256-rUyIkdVKLJu2r0NpVt7q1ZhrlpiwbmxtYW3kKc+1OTo=";
version = "12.22.11";
sha256 = "sha256-XoHaJv1bH4lxRIOrqmjj2jBFI+QzTHjEm/p6A+541vE=";
patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
}
+2 -2
View File
@@ -7,7 +7,7 @@ let
in
buildNodejs {
inherit enableNpm;
version = "14.19.0";
sha256 = "sha256-6S6EYwDmEXVH036o1b0yJEwZsvzvyznhQgpHY39FAww=";
version = "14.19.1";
sha256 = "sha256-4a4J3YYas5rwRIO7XA+lTd2CtrFVQ76aJ+pnBKi6ndk=";
patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
}
+2 -2
View File
@@ -8,8 +8,8 @@ let
in
buildNodejs {
inherit enableNpm;
version = "16.14.0";
sha256 = "sha256-BetkGT45H6iiwVnA9gwXGCRxUWX4DGf8q528lE4wxiM=";
version = "16.14.2";
sha256 = "sha256-6SLiFcxo61+U0z6KC2HiyGO3cxzIYAq5VdOCLakP+NE=";
patches = [
./disable-darwin-v8-system-instrumentation.patch
# Fixes node incorrectly building vendored OpenSSL when we want system OpenSSL.
+3 -9
View File
@@ -1,4 +1,4 @@
{ callPackage, fetchpatch, python3, enableNpm ? true }:
{ callPackage, python3, enableNpm ? true }:
let
buildNodejs = callPackage ./nodejs.nix {
@@ -7,15 +7,9 @@ let
in
buildNodejs {
inherit enableNpm;
version = "17.5.0";
sha256 = "sha256-myTmgwV2xX7ja6SDM974vldSMph7Tak5Vot7ifdzzcM=";
version = "17.7.2";
sha256 = "sha256-OuXnTgsWIoz37faIU1mp0uAZrIQ5BsXgGUjXRvq6Sq8=";
patches = [
./disable-darwin-v8-system-instrumentation.patch
# Fixes node incorrectly building vendored OpenSSL when we want system OpenSSL.
# https://github.com/nodejs/node/pull/40965
(fetchpatch {
url = "https://github.com/nodejs/node/commit/65119a89586b94b0dd46b45f6d315c9d9f4c9261.patch";
sha256 = "sha256-dihKYEdK68sQIsnfTRambJ2oZr0htROVbNZlFzSAL+I=";
})
];
}
+2
View File
@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'shopify-cli'
@@ -0,0 +1,39 @@
GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
bugsnag (6.24.2)
concurrent-ruby (~> 1.0)
concurrent-ruby (1.1.9)
ffi (1.15.5)
liquid (5.2.0)
listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mini_portile2 (2.8.0)
nokogiri (1.13.3)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
parser (3.1.1.0)
ast (~> 2.4.1)
racc (1.6.0)
rb-fsevent (0.11.1)
rb-inotify (0.10.1)
ffi (~> 1.0)
shopify-cli (2.14.0)
bugsnag (~> 6.22)
listen (~> 3.7.0)
theme-check (~> 1.10.1)
theme-check (1.10.2)
liquid (>= 5.1.0)
nokogiri (>= 1.12)
parser (~> 3)
PLATFORMS
ruby
DEPENDENCIES
shopify-cli
BUNDLED WITH
2.2.33
@@ -0,0 +1,34 @@
{ stdenv, lib, bundlerEnv, bundlerUpdateScript, makeWrapper, ruby }:
let
rubyEnv = bundlerEnv {
name = "shopify-cli";
gemdir = ./.;
};
in
stdenv.mkDerivation rec {
pname = "shopify-cli";
version = (import ./gemset.nix).shopify-cli.version;
nativeBuildInputs = [ makeWrapper ];
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin
makeWrapper ${rubyEnv}/bin/shopify $out/bin/shopify
wrapProgram $out/bin/shopify \
--prefix PATH : ${lib.makeBinPath [ ruby ]}
'';
passthru.updateScript = bundlerUpdateScript "shopify-cli";
meta = with lib; {
description = "CLI which helps you build against the Shopify platform faster";
homepage = "https://github.com/Shopify/shopify-cli";
license = licenses.mit;
platforms = ruby.meta.platforms;
maintainers = with maintainers; [ onny ];
};
}
+149
View File
@@ -0,0 +1,149 @@
{
ast = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "04nc8x27hlzlrr5c2gn7mar4vdr0apw5xg22wp6m8dx3wqr04a0y";
type = "gem";
};
version = "2.4.2";
};
bugsnag = {
dependencies = ["concurrent-ruby"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0vlsqawqy8jn6cy03zcqw944p323zmr2lgadbw00m5r4lqc3bll4";
type = "gem";
};
version = "6.24.2";
};
concurrent-ruby = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0nwad3211p7yv9sda31jmbyw6sdafzmdi2i2niaz6f0wk5nq9h0f";
type = "gem";
};
version = "1.1.9";
};
ffi = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1862ydmclzy1a0cjbvm8dz7847d9rch495ib0zb64y84d3xd4bkg";
type = "gem";
};
version = "1.15.5";
};
liquid = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "16aqzbvhvm254hbl274l4883h38j8wlwkcarmg09c7wzgpi0jnl1";
type = "gem";
};
version = "5.2.0";
};
listen = {
dependencies = ["rb-fsevent" "rb-inotify"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0agybr37wpjv3xy4ipcmsvsibgdgphzrwbvcj4vfiykpmakwm01v";
type = "gem";
};
version = "3.7.1";
};
mini_portile2 = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0rapl1sfmfi3bfr68da4ca16yhc0pp93vjwkj7y3rdqrzy3b41hy";
type = "gem";
};
version = "2.8.0";
};
nokogiri = {
dependencies = ["mini_portile2" "racc"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1p6b3q411h2mw4dsvhjrp1hh66hha5cm69fqg85vn2lizz71n6xz";
type = "gem";
};
version = "1.13.3";
};
parser = {
dependencies = ["ast"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0zaghgvva2q4jqbachg8jvpwgbg3w1jqr0d00m8rqciqznjgsw3c";
type = "gem";
};
version = "3.1.1.0";
};
racc = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0la56m0z26j3mfn1a9lf2l03qx1xifanndf9p3vx1azf6sqy7v9d";
type = "gem";
};
version = "1.6.0";
};
rb-fsevent = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "06c50pvxib7wqnv6q0f3n7gzfcrp5chi3sa48hxpkfxc3hhy11fm";
type = "gem";
};
version = "0.11.1";
};
rb-inotify = {
dependencies = ["ffi"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1jm76h8f8hji38z3ggf4bzi8vps6p7sagxn3ab57qc0xyga64005";
type = "gem";
};
version = "0.10.1";
};
shopify-cli = {
dependencies = ["bugsnag" "listen" "theme-check"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0fjqahhvmvqvmpfwa337ran9hhn9wk0ylm502qvcy5i4xy5hvd2r";
type = "gem";
};
version = "2.14.0";
};
theme-check = {
dependencies = ["liquid" "nokogiri" "parser"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0314f49fg354wgqavvipfaf6a03090kqrgv48qvkb0ikhvqawpdr";
type = "gem";
};
version = "1.10.2";
};
}
@@ -5,6 +5,7 @@
, gnugrep
, nix
, lib
, nixosTests
}:
let
fallback = import ./../../../../nixos/modules/installer/tools/nix-fallback-paths.nix;
@@ -19,4 +20,9 @@ substituteAll {
nix_i686_linux = fallback.i686-linux;
nix_aarch64_linux = fallback.aarch64-linux;
path = lib.makeBinPath [ coreutils gnused gnugrep ];
# run some a simple installer tests to make sure nixos-rebuild still works for them
passthru.tests = {
simple-installer-test = nixosTests.installer.simple;
};
}
@@ -31,6 +31,7 @@ profile=/nix/var/nix/profiles/system
buildHost=localhost
targetHost=
remoteSudo=
verboseScript=
# comma separated list of vars to preserve when using sudo
preservedSudoVars=NIXOS_INSTALL_BOOTLOADER
@@ -71,7 +72,11 @@ while [ "$#" -gt 0 ]; do
j="$1"; shift 1
extraBuildFlags+=("$i" "$j")
;;
--show-trace|--keep-failed|-K|--keep-going|-k|--verbose|-v|-vv|-vvv|-vvvv|-vvvvv|--fallback|--repair|--no-build-output|-Q|-j*|-L|--print-build-logs|--refresh|--no-net|--offline|--impure)
--show-trace|--keep-failed|-K|--keep-going|-k|--fallback|--repair|--no-build-output|-Q|-j*|-L|--print-build-logs|--refresh|--no-net|--offline|--impure)
extraBuildFlags+=("$i")
;;
--verbose|-v|-vv|-vvv|-vvvv|-vvvvv)
verboseScript="true"
extraBuildFlags+=("$i")
;;
--option)
@@ -143,30 +148,45 @@ if [ "$buildHost" = localhost ]; then
buildHost=
fi
# log the given argument to stderr if verbose mode is on
logVerbose() {
if [ -n "$verboseScript" ]; then
echo "$@" >&2
fi
}
# Run a command, logging it first if verbose mode is on
runCmd() {
logVerbose "$" "$@"
"$@"
}
buildHostCmd() {
if [ -z "$buildHost" ]; then
"$@"
runCmd "$@"
elif [ -n "$remoteNix" ]; then
ssh $SSHOPTS "$buildHost" "${maybeSudo[@]}" env PATH="$remoteNix":'$PATH' "$@"
runCmd ssh $SSHOPTS "$buildHost" "${maybeSudo[@]}" env PATH="$remoteNix":'$PATH' "$@"
else
ssh $SSHOPTS "$buildHost" "${maybeSudo[@]}" "$@"
runCmd ssh $SSHOPTS "$buildHost" "${maybeSudo[@]}" "$@"
fi
}
targetHostCmd() {
if [ -z "$targetHost" ]; then
"${maybeSudo[@]}" "$@"
runCmd "${maybeSudo[@]}" "$@"
else
ssh $SSHOPTS "$targetHost" "${maybeSudo[@]}" "$@"
runCmd ssh $SSHOPTS "$targetHost" "${maybeSudo[@]}" "$@"
fi
}
copyToTarget() {
if ! [ "$targetHost" = "$buildHost" ]; then
if [ -z "$targetHost" ]; then
NIX_SSHOPTS=$SSHOPTS nix-copy-closure "${copyClosureFlags[@]}" --from "$buildHost" "$1"
logVerbose "Running nix-copy-closure with these NIX_SSHOPTS: $SSHOPTS"
NIX_SSHOPTS=$SSHOPTS runCmd nix-copy-closure "${copyClosureFlags[@]}" --from "$buildHost" "$1"
elif [ -z "$buildHost" ]; then
NIX_SSHOPTS=$SSHOPTS nix-copy-closure "${copyClosureFlags[@]}" --to "$targetHost" "$1"
logVerbose "Running nix-copy-closure with these NIX_SSHOPTS: $SSHOPTS"
NIX_SSHOPTS=$SSHOPTS runCmd nix-copy-closure "${copyClosureFlags[@]}" --to "$targetHost" "$1"
else
buildHostCmd nix-copy-closure "${copyClosureFlags[@]}" --to "$targetHost" "$1"
fi
@@ -174,9 +194,12 @@ copyToTarget() {
}
nixBuild() {
logVerbose "Building in legacy (non-flake) mode."
if [ -z "$buildHost" ]; then
nix-build "$@"
logVerbose "No --build-host given, running nix-build locally"
runCmd nix-build "$@"
else
logVerbose "buildHost set to \"$buildHost\", running nix-build remotely"
local instArgs=()
local buildArgs=()
local drv=
@@ -206,9 +229,10 @@ nixBuild() {
esac
done
drv="$(nix-instantiate "${instArgs[@]}" "${extraBuildFlags[@]}")"
drv="$(runCmd nix-instantiate "${instArgs[@]}" "${extraBuildFlags[@]}")"
if [ -a "$drv" ]; then
NIX_SSHOPTS=$SSHOPTS nix-copy-closure --to "$buildHost" "$drv"
logVerbose "Running nix-copy-closure with these NIX_SSHOPTS: $SSHOPTS"
NIX_SSHOPTS=$SSHOPTS runCmd nix-copy-closure --to "$buildHost" "$drv"
buildHostCmd nix-store -r "$drv" "${buildArgs[@]}"
else
echo "nix-instantiate failed"
@@ -218,12 +242,13 @@ nixBuild() {
}
nixFlakeBuild() {
logVerbose "Building in flake mode."
if [[ -z "$buildHost" && -z "$targetHost" && "$action" != switch && "$action" != boot ]]
then
nix "${flakeFlags[@]}" build "$@"
runCmd nix "${flakeFlags[@]}" build "$@"
readlink -f ./result
elif [ -z "$buildHost" ]; then
nix "${flakeFlags[@]}" build "$@" --out-link "${tmpDir}/result"
runCmd nix "${flakeFlags[@]}" build "$@" --out-link "${tmpDir}/result"
readlink -f "${tmpDir}/result"
else
local attr="$1"
@@ -255,9 +280,10 @@ nixFlakeBuild() {
esac
done
drv="$(nix "${flakeFlags[@]}" eval --raw "${attr}.drvPath" "${evalArgs[@]}" "${extraBuildFlags[@]}")"
drv="$(runCmd nix "${flakeFlags[@]}" eval --raw "${attr}.drvPath" "${evalArgs[@]}" "${extraBuildFlags[@]}")"
if [ -a "$drv" ]; then
NIX_SSHOPTS=$SSHOPTS nix "${flakeFlags[@]}" copy --derivation --to "ssh://$buildHost" "$drv"
logVerbose "Running nix with these NIX_SSHOPTS: $SSHOPTS"
NIX_SSHOPTS=$SSHOPTS runCmd nix "${flakeFlags[@]}" copy --derivation --to "ssh://$buildHost" "$drv"
buildHostCmd nix-store -r "$drv" "${buildArgs[@]}"
else
echo "nix eval failed"
@@ -291,11 +317,11 @@ if [[ -n $upgrade && -z $_NIXOS_REBUILD_REEXEC && -z $flake ]]; then
channel_name=$(basename "$channelpath")
if [[ "$channel_name" == "nixos" ]]; then
nix-channel --update "$channel_name"
runCmd nix-channel --update "$channel_name"
elif [ -e "$channelpath/.update-on-nixos-rebuild" ]; then
nix-channel --update "$channel_name"
runCmd nix-channel --update "$channel_name"
elif [[ -n $upgrade_all ]] ; then
nix-channel --update "$channel_name"
runCmd nix-channel --update "$channel_name"
fi
done
fi
@@ -320,9 +346,9 @@ fi
# Re-execute nixos-rebuild from the Nixpkgs tree.
# FIXME: get nixos-rebuild from $flake.
if [[ -z $_NIXOS_REBUILD_REEXEC && -n $canRun && -z $fast && -z $flake ]]; then
if p=$(nix-build --no-out-link --expr 'with import <nixpkgs/nixos> {}; config.system.build.nixos-rebuild' "${extraBuildFlags[@]}"); then
if p=$(runCmd nix-build --no-out-link --expr 'with import <nixpkgs/nixos> {}; config.system.build.nixos-rebuild' "${extraBuildFlags[@]}"); then
export _NIXOS_REBUILD_REEXEC=1
exec "$p/bin/nixos-rebuild" "${origArgs[@]}"
runCmd exec "$p/bin/nixos-rebuild" "${origArgs[@]}"
exit 1
fi
fi
@@ -348,13 +374,13 @@ fi
# Find configuration.nix and open editor instead of building.
if [ "$action" = edit ]; then
if [[ -z $flake ]]; then
NIXOS_CONFIG=${NIXOS_CONFIG:-$(nix-instantiate --find-file nixos-config)}
NIXOS_CONFIG=${NIXOS_CONFIG:-$(runCmd nix-instantiate --find-file nixos-config)}
if [[ -d $NIXOS_CONFIG ]]; then
NIXOS_CONFIG=$NIXOS_CONFIG/default.nix
fi
exec ${EDITOR:-nano} "$NIXOS_CONFIG"
runCmd exec ${EDITOR:-nano} "$NIXOS_CONFIG"
else
exec nix "${flakeFlags[@]}" edit "${lockFlags[@]}" -- "$flake#$flakeAttr"
runCmd exec nix "${flakeFlags[@]}" edit "${lockFlags[@]}" -- "$flake#$flakeAttr"
fi
exit 1
fi
@@ -403,19 +429,19 @@ prebuiltNix() {
if [[ -n $buildNix && -z $flake ]]; then
echo "building Nix..." >&2
nixDrv=
if ! nixDrv="$(nix-instantiate '<nixpkgs/nixos>' --add-root "$tmpDir/nix.drv" --indirect -A config.nix.package.out "${extraBuildFlags[@]}")"; then
if ! nixDrv="$(nix-instantiate '<nixpkgs>' --add-root "$tmpDir/nix.drv" --indirect -A nix "${extraBuildFlags[@]}")"; then
if ! nixStorePath="$(nix-instantiate --eval '<nixpkgs/nixos/modules/installer/tools/nix-fallback-paths.nix>' -A "$(nixSystem)" | sed -e 's/^"//' -e 's/"$//')"; then
if ! nixDrv="$(runCmd nix-instantiate '<nixpkgs/nixos>' --add-root "$tmpDir/nix.drv" --indirect -A config.nix.package.out "${extraBuildFlags[@]}")"; then
if ! nixDrv="$(runCmd nix-instantiate '<nixpkgs>' --add-root "$tmpDir/nix.drv" --indirect -A nix "${extraBuildFlags[@]}")"; then
if ! nixStorePath="$(runCmd nix-instantiate --eval '<nixpkgs/nixos/modules/installer/tools/nix-fallback-paths.nix>' -A "$(nixSystem)" | sed -e 's/^"//' -e 's/"$//')"; then
nixStorePath="$(prebuiltNix "$(uname -m)")"
fi
if ! nix-store -r "$nixStorePath" --add-root "${tmpDir}/nix" --indirect \
if ! runCmd nix-store -r "$nixStorePath" --add-root "${tmpDir}/nix" --indirect \
--option extra-binary-caches https://cache.nixos.org/; then
echo "warning: don't know how to get latest Nix" >&2
fi
# Older version of nix-store -r don't support --add-root.
[ -e "$tmpDir/nix" ] || ln -sf "$nixStorePath" "$tmpDir/nix"
if [ -n "$buildHost" ]; then
remoteNixStorePath="$(prebuiltNix "$(buildHostCmd uname -m)")"
remoteNixStorePath="$(runCmd prebuiltNix "$(buildHostCmd uname -m)")"
remoteNix="$remoteNixStorePath/bin"
if ! buildHostCmd nix-store -r "$remoteNixStorePath" \
--option extra-binary-caches https://cache.nixos.org/ >/dev/null; then
@@ -442,8 +468,8 @@ fi
# Update the version suffix if we're building from Git (so that
# nixos-version shows something useful).
if [[ -n $canRun && -z $flake ]]; then
if nixpkgs=$(nix-instantiate --find-file nixpkgs "${extraBuildFlags[@]}"); then
suffix=$($SHELL "$nixpkgs/nixos/modules/installer/tools/get-version-suffix" "${extraBuildFlags[@]}" || true)
if nixpkgs=$(runCmd nix-instantiate --find-file nixpkgs "${extraBuildFlags[@]}"); then
suffix=$(runCmd $SHELL "$nixpkgs/nixos/modules/installer/tools/get-version-suffix" "${extraBuildFlags[@]}" || true)
if [ -n "$suffix" ]; then
echo -n "$suffix" > "$nixpkgs/.version-suffix" || true
fi
+3 -3
View File
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "owncast";
version = "0.0.10";
version = "0.0.11";
src = fetchFromGitHub {
owner = "owncast";
repo = "owncast";
rev = "v${version}";
sha256 = "sha256-OcolQ4KnZbSgS1dpphbCML40jlheKAxbac7rjRul6Oc=";
sha256 = "sha256-SVe7CH+qx3hFZ/cay6Hh5+vx0ncHACiNSM6k7fCDH18=";
};
vendorSha256 = "sha256-NARHYeOVT7sxfL1BdJc/CPCgHNZzjWE7kACJvrEC71Y=";
vendorSha256 = "sha256-19FTfUCG1omk5y1HC2yb7/0CM2x6k5BGSM+sZwlKrxY=";
propagatedBuildInputs = [ ffmpeg ];
+9 -4
View File
@@ -6,13 +6,13 @@ let
if stdenv.hostPlatform.system == "x86_64-linux" then "linux-x64"
else throw "Unsupported architecture: ${stdenv.hostPlatform.system}";
version = "4.1.0";
version = "4.1.1";
source = fetchFromGitHub {
owner = "Chocobozzz";
repo = "PeerTube";
rev = "v${version}";
sha256 = "sha256-gW/dzWns6wK3zzNjbW19HrV2jqzjdXR5uMMNXL4Xfdw=";
sha256 = "sha256-yBRontvkcVU3BNUIB6WfH2a5blU9u3CNyHrou16h42s=";
};
yarnOfflineCacheServer = fetchYarnDeps {
@@ -27,7 +27,7 @@ let
yarnOfflineCacheClient = fetchYarnDeps {
yarnLock = "${source}/client/yarn.lock";
sha256 = "sha256-wniMvtz7i3I4pn9xyzfNi1k7gQuzDl1GmEO8LqPBMKg=";
sha256 = "sha256-cBa0lNq9JsYi34EJzl0pPbDXSYL9a8g6MmiL6Ge65ms=";
};
bcrypt_version = "5.0.1";
@@ -75,10 +75,15 @@ in stdenv.mkDerivation rec {
cd ~
# Build PeerTube server
npm run build:server
npm run tsc -- --build ./tsconfig.json
npm run resolve-tspaths:server
cp -r "./server/static" "./server/assets" "./dist/server"
cp -r "./server/lib/emails" "./dist/server/lib"
# Build PeerTube tools
cp -r "./server/tools/node_modules" "./dist/server/tools"
npm run tsc -- --build ./server/tools/tsconfig.json
npm run resolve-tspaths:cli
# Build PeerTube client
npm run build:client
+2 -2
View File
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "pgroonga";
version = "2.3.4";
version = "2.3.5";
src = fetchurl {
url = "https://packages.groonga.org/source/${pname}/${pname}-${version}.tar.gz";
sha256 = "sha256-XE669KfHEyY5TghMUC0GcIqdPTsdAs04pA/t84k+i2E=";
sha256 = "sha256-Auw9dBS2JVvnsJM00PCfLeDl1M+HOYJRCbD0Bro6dlg=";
};
nativeBuildInputs = [ pkg-config ];
+3 -3
View File
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "eksctl";
version = "0.87.0";
version = "0.88.0";
src = fetchFromGitHub {
owner = "weaveworks";
repo = pname;
rev = version;
sha256 = "sha256-909cInKo6X8yzpXlumDYIi8yCYLqr1CVcsGgYSd2pnQ=";
sha256 = "sha256-HngpmCJ2oT+6LKtYGaDmQYjB6ibeIr8AaTZp8w8gftc=";
};
vendorSha256 = "sha256-3pEKG5YW83YMSkAjiJQDW1eQbMl6SkokHTXn+kJ/3l4=";
vendorSha256 = "sha256-hF7G5Bh87gf2gpaorBh7aICfhq4jPXj6Zay/qMC+cmU=";
doCheck = false;
+2 -2
View File
@@ -11,13 +11,13 @@
buildGoPackage rec {
pname = "lxd";
version = "4.23";
version = "4.24";
goPackagePath = "github.com/lxc/lxd";
src = fetchurl {
url = "https://linuxcontainers.org/downloads/lxd/lxd-${version}.tar.gz";
sha256 = "sha256-bPzH9MRirgl3b/wkkYIRhEvryvy/5M2Y9LLPqD4IL8U=";
sha256 = "sha256-l/rhWhgmvHOkXL+Omt93X9lwIkiGO4pZl95UlOquslI=";
};
postPatch = ''
+5 -5
View File
@@ -32,7 +32,7 @@ let
inherit version;
src = fetchurl {
url = "https://swupdate.openvpn.net/community/releases/${pname}-${version}.tar.xz";
url = "https://swupdate.openvpn.net/community/releases/${pname}-${version}.tar.gz";
inherit sha256;
};
@@ -78,12 +78,12 @@ let
in
{
openvpn_24 = generic {
version = "2.4.11";
sha256 = "06s4m0xvixjhd3azrzbsf4j86kah4xwr2jp6cmcpc7db33rfyyg5";
version = "2.4.12";
sha256 = "1vjx82nlkxrgzfiwvmmlnz8ids5m2fiqz7scy1smh3j9jnf2v5b6";
};
openvpn = generic {
version = "2.5.5";
sha256 = "sha256-EZvWn6AhCDj2zaonNpbcc476IA9FTb4R6237dd+2ADs=";
version = "2.5.6";
sha256 = "0gdd88rcan9vfiwkzsqn6fxxdim7kb1bsxrcra59c5xksprpwfik";
};
}
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "nfpm";
version = "2.14.0";
version = "2.15.0";
src = fetchFromGitHub {
owner = "goreleaser";
repo = pname;
rev = "v${version}";
sha256 = "sha256-KZeamXMhTX8CbPR66f4ij29GsIvzSbDUZtla+EXPRG4=";
sha256 = "sha256-z9jGivdO7LduJuHbyKr4sl8xg+FGVvKwCm+RgVQPxJQ=";
};
vendorSha256 = "sha256-j4ebzVOzlmQwSkP8epDGClT7fhSUtC6uWdcoo+tFbnc=";
vendorSha256 = "sha256-guJgLjmB29sOLIzs2+gKNp0WTWC3zS9Sb5DD5IistKY=";
doCheck = false;
@@ -20,7 +20,7 @@ buildGoModule rec {
meta = with lib; {
description = "A simple deb and rpm packager written in Go";
homepage = "https://github.com/goreleaser/nfpm";
maintainers = [ maintainers.marsam ];
license = licenses.mit;
maintainers = with maintainers; [ marsam techknowlogick ];
license = with licenses; [ mit ];
};
}
+4 -4
View File
@@ -2,14 +2,14 @@
buildGoModule rec {
pname = "goreman";
version = "0.3.9";
rev = "df1209e7cdbad10aecc0aa75d332bc32822925f5";
version = "0.3.11";
rev = "6006c6e410ec5a5ba22b50e96227754a42f2834d";
src = fetchFromGitHub {
owner = "mattn";
repo = "goreman";
rev = "v${version}";
sha256 = "1irjf5i5ybdchyn42bamfq8pj3w00p633h1gg202n0vsr39h0bxw";
sha256 = "sha256-TbJfeU94wakI2028kDqU+7dRRmqXuqpPeL4XBaA/HPo=";
};
ldflags = [
@@ -18,7 +18,7 @@ buildGoModule rec {
"-X main.revision=${builtins.substring 0 7 rev}"
];
vendorSha256 = "sha256-+RFh6Ppxxs7P7DWqOBeEJTvPsBgOfopMjx22hPEI1/U=";
vendorSha256 = "sha256-87aHBRWm5Odv6LeshZty5N31sC+vdSwGlTYhk3BZkPo=";
doCheck = false;
+5 -5
View File
@@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromBitbucket, python3 }:
{ lib, stdenv, fetchFromGitHub, python3 }:
stdenv.mkDerivation rec {
version = "8.0";
version = "9.0";
pname = "tab";
src = fetchFromBitbucket {
owner = "tkatchev";
src = fetchFromGitHub {
owner = "ivan-tkatchev";
repo = pname;
rev = version;
sha256 = "sha256-RcDvghTiqIdH79khwDIo8PhvmcObmix8WBrHToLwcw4=";
sha256 = "sha256-2keVGPRYV2KCeJ+LgAcl74cjW5wvp6Rmy7VNMtdliBE=";
};
checkInputs = [ python3 ];
@@ -29,6 +29,7 @@ let
requests = changeVersionHash super.requests.overridePythonAttrs "2.26.0" "sha256-uKpY+M95P/2HgtPYyxnmbvNverpDU+7IWedGeLAbB6c=";
six = changeVersion super.six.overridePythonAttrs "1.14.0" "02lw67hprv57hyg3cfy02y3ixjk3nzwc0dx3c4ynlvkfwkfdnsr3";
wcwidth = changeVersion super.wcwidth.overridePythonAttrs "0.1.9" "1wf5ycjx8s066rdvr0fgz4xds9a8zhs91c4jzxvvymm1c8l8cwzf";
semantic-version = changeVersion super.semantic-version.overridePythonAttrs "2.8.5" "d2cb2de0558762934679b9a104e82eca7af448c9f4974d1f3eeccff651df8a54";
pyyaml = super.pyyaml.overridePythonAttrs (oldAttrs: rec {
version = "5.4.1";
checkPhase = ''
+1
View File
@@ -602,6 +602,7 @@ mapAliases ({
libqrencode = throw "'libqrencode' has been renamed to/replaced by 'qrencode'"; # Converted to throw 2022-02-22
librdf = lrdf; # Added 2020-03-22
librecad2 = throw "'librecad2' has been renamed to/replaced by 'librecad'"; # Converted to throw 2022-02-22
libressl_3_2 = throw "'libressl_3_2' has reached end-of-life "; # Added 2022-03-19
librsync_0_9 = throw "librsync_0_9 has been removed"; # Added 2021-07-24
libseat = seatd; # Added 2021-06-24
libsexy = throw "libsexy has been removed from nixpkgs, as it's abandoned and no package needed it"; # Added 2019-12-10
+2 -4
View File
@@ -9836,6 +9836,8 @@ with pkgs;
shocco = callPackage ../tools/text/shocco { };
shopify-cli = callPackage ../development/web/shopify-cli { };
shopify-themekit = callPackage ../development/web/shopify-themekit { };
shorewall = callPackage ../tools/networking/shorewall { };
@@ -19548,11 +19550,8 @@ with pkgs;
openvdb = callPackage ../development/libraries/openvdb {};
inherit (callPackages ../development/libraries/libressl { })
libressl_3_2
libressl_3_4;
# Please keep this pointed to the latest version. See also
# https://discourse.nixos.org/t/nixpkgs-policy-regarding-libraries-available-in-multiple-versions/7026/2
libressl = libressl_3_4;
boringssl = callPackage ../development/libraries/boringssl { };
@@ -34302,7 +34301,6 @@ with pkgs;
wasm-pack = callPackage ../development/tools/wasm-pack {
inherit (darwin.apple_sdk.frameworks) Security;
libressl = libressl_3_2;
};
wavegain = callPackage ../applications/audio/wavegain { };