Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot]
2026-03-06 12:10:59 +00:00
committed by GitHub
219 changed files with 982 additions and 835 deletions
+4 -1
View File
@@ -530,7 +530,10 @@ in
"nix-helpers"
"nix-ovmf"
];
StateDirectory = subDirs [ "dnsmasq" ];
StateDirectory = subDirs [
"dnsmasq"
"secrets"
];
};
};
@@ -391,11 +391,11 @@
"vendorHash": null
},
"f5networks_bigip": {
"hash": "sha256-V+CA+8nICGzj0etByXZzaO/GMIFGA0fzG0PW1FH7Qxw=",
"hash": "sha256-aUf9eRpfxzdpz6Lv36xWxSW++tSMxYvqy9xtkko/bfc=",
"homepage": "https://registry.terraform.io/providers/F5Networks/bigip",
"owner": "F5Networks",
"repo": "terraform-provider-bigip",
"rev": "v1.24.2",
"rev": "v1.25.0",
"spdx": "MPL-2.0",
"vendorHash": null
},
@@ -652,11 +652,11 @@
"vendorHash": "sha256-GlkqFg9Bgs+Hi59PYAxqq3YW9ji1qeuX4vz59wQ4pRw="
},
"hashicorp_tfe": {
"hash": "sha256-+FIiatVTff/MNk1Ik0vZDii7yjeWQLO5BLqSrs2bGME=",
"hash": "sha256-dak9/lYjL+2gbXyjxRqS61wr4YJRHFzHNJdCPJqiaW4=",
"homepage": "https://registry.terraform.io/providers/hashicorp/tfe",
"owner": "hashicorp",
"repo": "terraform-provider-tfe",
"rev": "v0.74.0",
"rev": "v0.74.1",
"spdx": "MPL-2.0",
"vendorHash": "sha256-GAwAGw8N4B/jCtcR2ok3g/0j//CHK9yPaBj+otJLjKc="
},
@@ -1247,11 +1247,11 @@
"vendorHash": "sha256-EOr4Ps0IYYOtRq19tt87NFfCEvJTaFBGb5B4mKMll7c="
},
"spotinst_spotinst": {
"hash": "sha256-yDwEtptwNXu/IpoKUK98UkpivTgJaY1FfsshsVpaaOk=",
"hash": "sha256-dZStuj7YjSF9X5/AEkrZyqDT2l2orpV4jY6CJrXjOgA=",
"homepage": "https://registry.terraform.io/providers/spotinst/spotinst",
"owner": "spotinst",
"repo": "terraform-provider-spotinst",
"rev": "v1.232.4",
"rev": "v1.232.5",
"spdx": "MPL-2.0",
"vendorHash": "sha256-Cj7RVITkFxIjAZAqHFhnoTa4lTZFXG22ny801g0Y+NE="
},
+85 -59
View File
@@ -935,67 +935,93 @@ rec {
# Docs in doc/build-helpers/fetchers.chapter.md
# See https://nixos.org/manual/nixpkgs/unstable/#requirefile
requireFile =
{
name ? null,
sha256 ? null,
sha1 ? null,
hash ? null,
url ? null,
message ? null,
hashMode ? "flat",
}:
assert (message != null) || (url != null);
assert (sha256 != null) || (sha1 != null) || (hash != null);
assert (name != null) || (url != null);
let
msg =
if message != null then
message
else
''
Unfortunately, we cannot download file ${name_} automatically.
Please go to ${url} to download it yourself, and add it to the Nix store
using either
nix-store --add-fixed ${hashAlgo} ${name_}
or
nix-prefetch-url --type ${hashAlgo} file:///path/to/${name_}
'';
hashAlgo =
if hash != null then
(builtins.head (lib.strings.splitString "-" hash))
else if sha256 != null then
"sha256"
else
"sha1";
hashAlgo_ = if hash != null then "" else hashAlgo;
hash_ =
if hash != null then
hash
else if sha256 != null then
sha256
else
sha1;
name_ = if name == null then baseNameOf (toString url) else name;
in
stdenvNoCC.mkDerivation {
name = name_;
outputHashMode = hashMode;
outputHashAlgo = hashAlgo_;
outputHash = hash_;
preferLocalBuild = true;
builder = writeScript "restrict-message" ''
source ${stdenvNoCC}/setup
cat <<_EOF_
requireFile = lib.extendMkDerivation {
constructDrv = stdenv.mkDerivation;
***
${msg}
***
excludeDrvArgNames = [
"hash"
"hashMode"
"message"
"sha1"
"sha256"
"url"
];
_EOF_
exit 1
'';
};
extendDrvArgs =
finalAttrs:
{
name ? null,
sha256 ? null,
sha1 ? null,
hash ? null,
url ? null,
message ? null,
hashMode ? "flat",
}@args:
assert (message != null) || (url != null);
assert (sha256 != null) || (sha1 != null) || (hash != null);
assert (name != null) || (url != null);
let
msg =
if message != null then
message
else
''
Unfortunately, we cannot download file ${name_} automatically.
Please go to ${url} to download it yourself, and add it to the Nix store
using either
nix-store --add-fixed ${hashAlgo} ${name_}
or
nix-prefetch-url --type ${hashAlgo} file:///path/to/${name_}
'';
hashAlgo =
if hash != null then
(builtins.head (lib.strings.splitString "-" hash))
else if sha256 != null then
"sha256"
else
"sha1";
hashAlgo_ = if hash != null then "" else hashAlgo;
hash_ =
if hash != null then
hash
else if sha256 != null then
sha256
else
sha1;
name_ = if name == null then baseNameOf (toString url) else name;
in
{
outputHashMode = hashMode;
outputHashAlgo = hashAlgo_;
outputHash = hash_;
preferLocalBuild = true;
builder = writeScript "restrict-message" ''
source ${stdenvNoCC}/setup
cat <<_EOF_
***
${msg}
***
_EOF_
exit 1
'';
}
// (lib.optionalAttrs (name == null) {
# The case of providing `url`, but not `name`. This has
# weird interactions with the positioning system
# When we set `name` explicitly here, we override where the
# position is read from. So we must fix it here.
pos = lib.unsafeGetAttrPos "url" args;
# If a name is not provided, use the basename of the url
name = builtins.warn "providing a URL without a name is deprecated" baseNameOf (toString url);
});
inheritFunctionArgs = false;
};
# TODO: move copyPathToStore docs to the Nixpkgs manual
/*
+4 -4
View File
@@ -14,14 +14,14 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "amdgpu_top";
version = "0.11.2";
src = fetchFromGitHub {
owner = "Umio-Yasuno";
repo = "amdgpu_top";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-yw73bKO91O05WBQNwjcQ+AqxYgGXXC7XJzUnMx5/IWc=";
};
@@ -45,7 +45,7 @@ rustPlatform.buildRustPackage rec {
'';
postFixup = ''
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}" $out/bin/${pname}
patchelf --set-rpath "${lib.makeLibraryPath finalAttrs.buildInputs}" $out/bin/${finalAttrs.meta.mainProgram}
'';
passthru.updateScript = nix-update-script { };
@@ -62,4 +62,4 @@ rustPlatform.buildRustPackage rec {
platforms = lib.platforms.linux;
mainProgram = "amdgpu_top";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "ansi-escape-sequences-cli";
version = "0.2.2";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-55CdEw1bVgabWRbZIRe9jytwDf70Y92nITwDRQaTXaQ=";
};
@@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ phip1611 ];
mainProgram = "ansi";
};
}
})
+4 -4
View File
@@ -6,12 +6,12 @@
pkg-config,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "apkeep";
version = "0.18.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-Sk8CQaMXtPPJh2nGgGthyzuvkVViQ0jtqPjAqo2dtpg=";
};
@@ -32,9 +32,9 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Command-line tool for downloading APK files from various sources";
homepage = "https://github.com/EFForg/apkeep";
changelog = "https://github.com/EFForg/apkeep/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/EFForg/apkeep/blob/${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "apkeep";
};
}
})
+4 -4
View File
@@ -4,17 +4,17 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "asahi-bless";
version = "0.4.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-SNaA+CEuCBwo4c54qWGs5AdkBYb9IWY1cQ0dRd/noe8=";
};
cargoHash = "sha256-nfSJ9RkzFAWlxlfoUKk8ZmIXDJXoSyHCGgRgMy9FDkw=";
cargoDepsName = pname;
cargoDepsName = finalAttrs.pname;
meta = {
description = "Tool to select active boot partition on ARM Macs";
@@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "asahi-bless";
platforms = lib.platforms.linux;
};
}
})
+4 -4
View File
@@ -4,17 +4,17 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "asahi-btsync";
version = "0.2.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-jp05WcwY1cWh4mBQj+3jRCZoG32OhDvTB84hOAGemX8=";
};
cargoHash = "sha256-gGWhi0T7xDIsbzfw/KL3TSneLvQaiz/2xbpHeZt1i3I=";
cargoDepsName = pname;
cargoDepsName = finalAttrs.pname;
meta = {
description = "Tool to sync Bluetooth pairing keys with macos on ARM Macs";
@@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "asahi-btsync";
platforms = lib.platforms.linux;
};
}
})
+4 -4
View File
@@ -4,17 +4,17 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "asahi-nvram";
version = "0.2.3";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-zfUvPHAPrYhzgeiirGuqZaWnLBH0PHsqOUy2e972bWM=";
};
cargoHash = "sha256-NW/puo/Xoum7DjSQjBgilQcKbY3mAfVgXxUK6+1H1JI=";
cargoDepsName = pname;
cargoDepsName = finalAttrs.pname;
meta = {
description = "Tool to read and write nvram variables on ARM Macs";
@@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "asahi-nvram";
platforms = lib.platforms.linux;
};
}
})
+4 -4
View File
@@ -4,17 +4,17 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "asahi-wifisync";
version = "0.2.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-wKd6rUUnegvl6cHODVQlllaOXuAGlmwx9gr73I/2l/c=";
};
cargoHash = "sha256-ZxgRxQyDID3mBpr8dhHScctk14Pm9V51Gn24d24JyVk=";
cargoDepsName = pname;
cargoDepsName = finalAttrs.pname;
meta = {
description = "Tool to sync Wifi passwords with macos on ARM Macs";
@@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "asahi-wifisync";
platforms = lib.platforms.linux;
};
}
})
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "asciinema-scenario";
version = "0.3.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-fnX5CIYLdFqi04PQPVIAYDGn+xXi016l8pPcIrYIhmQ=";
};
@@ -21,4 +21,4 @@ rustPlatform.buildRustPackage rec {
license = with lib.licenses; [ mit ];
mainProgram = "asciinema-scenario";
};
}
})
+3 -3
View File
@@ -11,13 +11,13 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "ast-grep";
version = "0.40.5";
version = "0.41.0";
src = fetchFromGitHub {
owner = "ast-grep";
repo = "ast-grep";
tag = finalAttrs.version;
hash = "sha256-O4f9PjGtwK6poFIbtz26q8q4fiYjfQEtobXmghQZAfw=";
hash = "sha256-cL7RtGFhIKTlfP7wEjdjT8uTxB/tG2joob+HN5NG1G8=";
};
# error: linker `aarch64-linux-gnu-gcc` not found
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
rm .cargo/config.toml
'';
cargoHash = "sha256-N5WrItW/yeZ+GDTw5yFy4eB11BzOlcuePGAefhJaG6I=";
cargoHash = "sha256-zPl9fUG+RdddB7r4nWHETHsULf/hDDFpTf8h3xe7UiI=";
nativeBuildInputs = [ installShellFiles ];
+2 -2
View File
@@ -27,13 +27,13 @@ let
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "atlauncher";
version = "3.4.40.2";
version = "3.4.40.3";
src = fetchFromGitHub {
owner = "ATLauncher";
repo = "ATLauncher";
rev = "v${finalAttrs.version}";
hash = "sha256-sV6eWIgx/0e+uUCbbRwAPPqNcFWUQWyuHnzrwcYJkqA=";
hash = "sha256-QFPdEH3V9Krwy/cWCbY+IMtW0ydVCqKr/OZfttZGCss=";
};
nativeBuildInputs = [
+5 -5
View File
@@ -10,14 +10,14 @@
zlib,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "authoscope";
version = "0.8.1";
src = fetchFromGitHub {
owner = "kpcyrd";
repo = "authoscope";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-SKgb/N249s0+Rb59moBT/MeFb4zAAElCMQJto0diyUk=";
};
@@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec {
];
postInstall = ''
installManPage docs/${pname}.1
installManPage docs/authoscope.1
'';
# Tests requires access to httpin.org
@@ -46,8 +46,8 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Scriptable network authentication cracker";
homepage = "https://github.com/kpcyrd/authoscope";
changelog = "https://github.com/kpcyrd/authoscope/releases/tag/v${version}";
changelog = "https://github.com/kpcyrd/authoscope/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ fab ];
};
}
})
@@ -10,7 +10,7 @@
python3Packages,
autoPatchelfHook,
python3,
openssl_1_1,
openssl,
}:
{
@@ -173,16 +173,18 @@
confcom = mkAzExtension rec {
pname = "confcom";
version = "1.2.6";
version = "1.8.0";
url = "https://azcliprod.blob.core.windows.net/cli-extensions/confcom-${version}-py3-none-any.whl";
hash = "sha256-kyJ4AkPcpP/10nf4whJiuraC7hn0E6iBkhRIn43E9J0=";
hash = "sha256-rKEECrGR4VIKTgPzInGhFrbrXDtYqayAzYWLKclE1tg=";
description = "Microsoft Azure Command-Line Tools Confidential Container Security Policy Generator Extension";
nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [ openssl_1_1 ];
buildInputs = [ openssl ];
pythonRelaxDeps = [ "tqdm" ];
propagatedBuildInputs = with python3Packages; [
pyyaml
deepdiff
docker
pydantic
pyyaml
tqdm
];
postInstall = ''
+4 -4
View File
@@ -4,13 +4,13 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "bao";
version = "0.13.1";
src = fetchCrate {
inherit version;
pname = "${pname}_bin";
inherit (finalAttrs) version;
pname = "${finalAttrs.pname}_bin";
hash = "sha256-8h5otpu3z2Hgy0jMCITJNr8Q4iVdlR5Lea2X+WuenWs=";
};
@@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "bao";
};
}
})
+3 -3
View File
@@ -6,12 +6,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "bk";
version = "0.6.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-rSMvx/zUZqRRgj48TVVG7RwQT8e70m0kertRJysDY4Y=";
};
@@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ vuimuich ];
mainProgram = "bk";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "book-summary";
version = "0.2.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-dxM6bqgHp4IaG03NriHvoT3al2u5Sz/I5ajlgzpjG1c=";
};
@@ -21,4 +21,4 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/dvogt23/book-summary";
license = lib.licenses.mit;
};
}
})
+1 -1
View File
@@ -46,7 +46,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
mv $out/share/applications/software.Browsers.template.desktop $out/share/applications/software.Browsers.desktop
substituteInPlace \
$out/share/applications/software.Browsers.desktop \
--replace-fail 'Exec=ExecCommand' 'Exec=${finalAttrs.pname} %u'
--replace-fail 'Exec=ExecCommand' 'Exec=${finalAttrs.meta.mainProgram} %u'
cp -r resources $out
for size in 16 32 128 256 512; do
install -m 444 \
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-all-features";
version = "1.12.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-pD0lyI2zSOeEDk1Lch4Qf5mo8Z8Peiy2XF5iQ62vsaI=";
};
@@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec {
matthiasbeyer
];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-apk";
version = "0.9.6";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-1vCrM+0SNefd7FrRXnSjLhM3/MSVJfcL4k1qAstX+/A=";
};
@@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec {
];
maintainers = with lib.maintainers; [ nickcao ];
};
}
})
+4 -4
View File
@@ -7,12 +7,12 @@
zlib,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-audit";
version = "0.22.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-Ha2yVyu9331NaqiW91NEwCTIeW+3XPiqZzmatN5KOws=";
};
@@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec {
description = "Audit Cargo.lock files for crates with security vulnerabilities";
mainProgram = "cargo-audit";
homepage = "https://rustsec.org";
changelog = "https://github.com/rustsec/rustsec/blob/cargo-audit/v${version}/cargo-audit/CHANGELOG.md";
changelog = "https://github.com/rustsec/rustsec/blob/cargo-audit/v${finalAttrs.version}/cargo-audit/CHANGELOG.md";
license = with lib.licenses; [
mit # or
asl20
@@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec {
jk
];
};
}
})
+3 -3
View File
@@ -6,12 +6,12 @@
libz,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-bazel";
version = "0.17.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-KWcxZxzDbiBfBpr37M6HoqHMCYXq6sTVxU9KR3PIiJc=";
};
@@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ rickvanprim ];
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-binutils";
version = "0.4.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-AF1MRBH8ULnHNHT2FS/LxMH+b06QMTIZMIR8mmkn17c=";
};
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
In order for this to work, you either need to run `rustup component add llvm-tools` or install the `llvm-tools` component using your Nix library (e.g. fenix or rust-overlay)
'';
homepage = "https://github.com/rust-embedded/cargo-binutils";
changelog = "https://github.com/rust-embedded/cargo-binutils/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/rust-embedded/cargo-binutils/blob/v${finalAttrs.version}/CHANGELOG.md";
license = with lib.licenses; [
asl20
mit
@@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec {
newam
];
};
}
})
+3 -3
View File
@@ -8,12 +8,12 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-bolero";
version = "0.13.4";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-lfBpHaY2UCBMg45S4IW8fcpkGkKJoT4qqR2yq5KiXuE=";
};
@@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec {
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ ekleog ];
};
}
})
+5 -5
View File
@@ -14,13 +14,13 @@ let
# this version may need to be updated along with package version
cargoVersion = "0.93.0";
in
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-c";
version = "0.10.19";
src = fetchCrate {
inherit pname;
version = "${version}+cargo-${cargoVersion}";
inherit (finalAttrs) pname;
version = "${finalAttrs.version}+cargo-${cargoVersion}";
hash = "sha256-PrBmB+0tmU2MAUnRr+wx4g9hu0Y9i6WfR8U89bwiLVY=";
};
@@ -63,11 +63,11 @@ rustPlatform.buildRustPackage rec {
to be used by any C (and C-compatible) software.
'';
homepage = "https://github.com/lu-zero/cargo-c";
changelog = "https://github.com/lu-zero/cargo-c/releases/tag/v${version}";
changelog = "https://github.com/lu-zero/cargo-c/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
cpu
matthiasbeyer
];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-chef";
version = "0.1.75";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-FETYJrx5+yNOzMVIgJQ0yNLi2PB7cA128n8hAXIhx3E=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ kkharji ];
};
}
})
+3 -3
View File
@@ -8,14 +8,14 @@
curl,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-cyclonedx";
version = "0.5.7";
src = fetchFromGitHub {
owner = "CycloneDX";
repo = "cyclonedx-rust-cargo";
rev = "${pname}-${version}";
rev = "cargo-cyclonedx-${finalAttrs.version}";
hash = "sha256-T/9eHI2P8eCZAqMTeZz1yEi5nljQWfHrdNiU3h3h74U=";
};
@@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ nikstur ];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
lib,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-gra";
version = "0.6.2";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-JbBcpp/E3WlQrwdxMsbSdmIEnDTQj/1XDwAWJsniRu0=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ bot-wxt1221 ];
platforms = lib.platforms.unix;
};
}
})
+3 -3
View File
@@ -6,12 +6,12 @@
libusb1,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-hf2";
version = "0.3.3";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-0o3j7YfgNNnfbrv9Gppo24DqYlDCxhtsJHIhAV214DU=";
};
@@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec {
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ astrobeastie ];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-license";
version = "0.7.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-bOBrjChkQM6POZZn53JmJcIn1x+ygF5mthZihMskxIk=";
};
@@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec {
matthiasbeyer
];
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-lock";
version = "11.0.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-Gz459c2IWD19RGBg2TyHbI/VNCelha+R0FeNkAaHksU=";
};
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
description = "Self-contained Cargo.lock parser with graph analysis";
mainProgram = "cargo-lock";
homepage = "https://github.com/rustsec/rustsec/tree/main/cargo-lock";
changelog = "https://github.com/rustsec/rustsec/blob/cargo-lock/v${version}/cargo-lock/CHANGELOG.md";
changelog = "https://github.com/rustsec/rustsec/blob/cargo-lock/v${finalAttrs.version}/cargo-lock/CHANGELOG.md";
license = with lib.licenses; [
asl20 # or
mit
@@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec {
matthiasbeyer
];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-mommy";
version = "0.3.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-2WR6xUYL/bLgZlI4ADbPAtdLq0y4MoVP8Loxdu/58Wc=";
};
@@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec {
];
maintainers = with lib.maintainers; [ GoldsteinE ];
};
}
})
+4 -4
View File
@@ -7,12 +7,12 @@
openssl,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-public-api";
version = "0.51.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-fnkoIXv6QYJPYtsLZldOEjOxke6YVDEds3jF5SGZGKE=";
};
@@ -32,8 +32,8 @@ rustPlatform.buildRustPackage rec {
description = "List and diff the public API of Rust library crates between releases and commits. Detect breaking API changes and semver violations";
mainProgram = "cargo-public-api";
homepage = "https://github.com/Enselic/cargo-public-api";
changelog = "https://github.com/Enselic/cargo-public-api/releases/tag/v${version}";
changelog = "https://github.com/Enselic/cargo-public-api/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ matthiasbeyer ];
};
}
})
+4 -4
View File
@@ -7,12 +7,12 @@
openssl,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-rail";
version = "0.7.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-L8yh47lYvXVGOr8jDZ4Gk2rIfUnr88q9OR5/iDrJua0=";
};
@@ -60,9 +60,9 @@ rustPlatform.buildRustPackage rec {
description = "Graph-aware monorepo orchestration for Rust workspaces";
mainProgram = "cargo-rail";
homepage = "https://github.com/loadingalias/cargo-rail";
changelog = "https://github.com/loadingalias/cargo-rail/releases/tag/v${version}";
changelog = "https://github.com/loadingalias/cargo-rail/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ matthiasbeyer ];
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-run-bin";
version = "1.7.4";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-79DJ6j2sai1dTdcXf0qD97TCNZuGRSUobLGahoApMss=";
};
@@ -22,11 +22,11 @@ rustPlatform.buildRustPackage rec {
description = "Build, cache, and run binaries scoped in Cargo.toml rather than installing globally. This acts similarly to npm run and gomodrun, and allows your teams to always be running the same tooling versions";
mainProgram = "cargo-bin";
homepage = "https://github.com/dustinblackman/cargo-run-bin";
changelog = "https://github.com/dustinblackman/cargo-run-bin/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/dustinblackman/cargo-run-bin/blob/v${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
mightyiam
matthiasbeyer
];
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-tally";
version = "1.0.73";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-aYVo/mI4YoohwxXoIL9vpuPN526sPnQMV1PnUqJEO2U=";
};
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
description = "Graph the number of crates that depend on your crate over time";
mainProgram = "cargo-tally";
homepage = "https://github.com/dtolnay/cargo-tally";
changelog = "https://github.com/dtolnay/cargo-tally/releases/tag/${version}";
changelog = "https://github.com/dtolnay/cargo-tally/releases/tag/${finalAttrs.version}";
license = with lib.licenses; [
asl20 # or
mit
@@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec {
matthiasbeyer
];
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-toml-lint";
version = "0.1.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-U3y9gnFvkqJmyFqRAUQorJQY0iRzAE9UUXzFmgZIyaM=";
};
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
description = "Simple linter for Cargo.toml manifests";
mainProgram = "cargo-toml-lint";
homepage = "https://github.com/fuellabs/cargo-toml-lint";
changelog = "https://github.com/fuellabs/cargo-toml-lint/releases/tag/v${version}";
changelog = "https://github.com/fuellabs/cargo-toml-lint/releases/tag/v${finalAttrs.version}";
license = with lib.licenses; [
asl20 # or
mit
@@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec {
matthiasbeyer
];
};
}
})
+4 -4
View File
@@ -16,12 +16,12 @@
libxcb,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-ui";
version = "0.3.3";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-M/ljgtTHMSc7rY/a8CpKGNuOSdVDwRt6+tzPPHdpKOw=";
};
@@ -64,7 +64,7 @@ rustPlatform.buildRustPackage rec {
description = "GUI for Cargo";
mainProgram = "cargo-ui";
homepage = "https://github.com/slint-ui/cargo-ui";
changelog = "https://github.com/slint-ui/cargo-ui/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/slint-ui/cargo-ui/blob/v${finalAttrs.version}/CHANGELOG.md";
license = with lib.licenses; [
mit
asl20
@@ -74,4 +74,4 @@ rustPlatform.buildRustPackage rec {
matthiasbeyer
];
};
}
})
@@ -8,12 +8,12 @@
openssl,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-unused-features";
version = "0.2.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-gdwIbbQDw/DgBV9zY2Rk/oWjPv1SS/+oFnocsMo2Axo=";
};
@@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "unused-features";
};
}
})
+4 -4
View File
@@ -14,12 +14,12 @@
zlib,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-update";
version = "18.1.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-q7o9CPz9d4cBkrrnp2JY4CZiYkKx/ebVlrS4D34RbIo=";
};
@@ -63,7 +63,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Cargo subcommand for checking and applying updates to installed executables";
homepage = "https://github.com/nabijaczleweli/cargo-update";
changelog = "https://github.com/nabijaczleweli/cargo-update/releases/tag/v${version}";
changelog = "https://github.com/nabijaczleweli/cargo-update/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
gerschtli
@@ -71,4 +71,4 @@ rustPlatform.buildRustPackage rec {
matthiasbeyer
];
};
}
})
+4 -4
View File
@@ -8,12 +8,12 @@
zlib,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-workspaces";
version = "0.4.2";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-/h7v5Wq7YsNMVzLHw3QQmcknbjARpI7HFPAUGX72wZ0=";
};
@@ -41,7 +41,7 @@ rustPlatform.buildRustPackage rec {
commands and more.
'';
homepage = "https://github.com/pksunkara/cargo-workspaces";
changelog = "https://github.com/pksunkara/cargo-workspaces/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/pksunkara/cargo-workspaces/blob/v${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
macalinao
@@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "cargo-workspaces";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo2junit";
version = "0.1.13";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-R3a87nXCnGhdeyR7409hFR5Cj3TFUWqaLNOtlXPsvto=";
};
@@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ alekseysidorov ];
};
}
})
+3 -3
View File
@@ -3,12 +3,12 @@
rustPlatform,
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cfonts";
version = "1.3.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-rgdqQzJyb1/bYB3S1MD/53vdQ+GaxOvGHuPE6dxMRB0=";
};
@@ -21,4 +21,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ leifhelm ];
mainProgram = "cfonts";
};
}
})
+4 -4
View File
@@ -6,12 +6,12 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "changelogging";
version = "0.7.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-orTUCBHacD0MQNfhOUWdh9RxT/9YNvgfCHFDr2eNQic=";
};
@@ -25,10 +25,10 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "CLI tool for building changelogs from fragments";
homepage = "https://github.com/nekitdev/changelogging";
changelog = "https://github.com/nekitdev/changelogging/releases/tag/v${version}";
changelog = "https://github.com/nekitdev/changelogging/releases/tag/v${finalAttrs.version}";
platforms = lib.platforms.all;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.nekitdev ];
mainProgram = "changelogging";
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "checkpwn";
version = "0.5.6";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-M0Jb+8rKn4KVuumNSsM6JEbSOoBOFy9mmXiCnUnDgak=";
};
@@ -23,9 +23,9 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Check Have I Been Pwned and see if it's time for you to change passwords";
homepage = "https://github.com/brycx/checkpwn";
changelog = "https://github.com/brycx/checkpwn/releases/tag/${version}";
changelog = "https://github.com/brycx/checkpwn/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "checkpwn";
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cherrybomb";
version = "1.0.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-MHKBP102U1Ug9wZm9x4+opZgG8f6Hx03FvoLV4qaDgY=";
};
@@ -19,8 +19,8 @@ rustPlatform.buildRustPackage rec {
description = "CLI tool that helps you avoid undefined user behavior by validating your API specifications";
mainProgram = "cherrybomb";
homepage = "https://github.com/blst-security/cherrybomb";
changelog = "https://github.com/blst-security/cherrybomb/releases/tag/v${version}";
changelog = "https://github.com/blst-security/cherrybomb/releases/tag/v${finalAttrs.version}";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
})
+3 -3
View File
@@ -7,12 +7,12 @@
pkg-config,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "citron";
version = "0.15.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-6wJ4UfiwpV9zFuBR8SYj6eBiRqQitFs7wRe5R51Z3SA=";
};
@@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec {
platforms = lib.platforms.linux;
mainProgram = "citron";
};
}
})
+3 -3
View File
@@ -5,12 +5,12 @@
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "clang-tidy-sarif";
version = "0.8.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-ALwEsF1n6WYqITfYTn8mIyn3sxTbDux17FxKIorKkFc=";
};
@@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "clang-tidy-sarif";
license = lib.licenses.mit;
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "clini";
version = "0.1.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-+HnoYFRG7GGef5lV4CUsUzqPzFUzXDajprLu25SCMQo=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ Flakebi ];
mainProgram = "clini";
};
}
})
+3 -3
View File
@@ -6,12 +6,12 @@
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "clippy-sarif";
version = "0.8.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-pqu7jIKksjn52benebICQEhgCW59MX+RRTcHm2ufjWE=";
};
@@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "clippy-sarif";
inherit (clippy.meta) platforms;
};
}
})
+5 -5
View File
@@ -12,14 +12,14 @@
testers,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "colmena";
version = "0.4.0";
src = fetchFromGitHub {
owner = "zhaofengli";
repo = "colmena";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-01bfuSY4gnshhtqA1EJCw2CMsKkAx+dHS+sEpQ2+EAQ=";
};
@@ -57,17 +57,17 @@ rustPlatform.buildRustPackage rec {
passthru = {
# We guarantee CLI and Nix API stability for the same minor version
apiVersion = builtins.concatStringsSep "." (lib.take 2 (lib.splitVersion version));
apiVersion = builtins.concatStringsSep "." (lib.take 2 (lib.splitVersion finalAttrs.version));
tests.version = testers.testVersion { package = colmena; };
};
meta = {
description = "Simple, stateless NixOS deployment tool";
homepage = "https://colmena.cli.rs/${passthru.apiVersion}";
homepage = "https://colmena.cli.rs/${finalAttrs.passthru.apiVersion}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ zhaofengli ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
mainProgram = "colmena";
};
}
})
+3 -3
View File
@@ -4,14 +4,14 @@
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "color-lsp";
version = "0.3.0";
src = fetchFromGitHub {
owner = "huacnlee";
repo = "color-lsp";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-p58rAVznBzhBv7gVvaEjMpCrk9kFuEjUvY6U4uMXUE8=";
};
@@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "color-lsp";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "csv2svg";
version = "0.1.9";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-3VebLFkeJLK97jqoPXt4Wt6QTR0Zyu+eQV9oaLBSeHE=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = [ ];
mainProgram = "csv2svg";
};
}
})
+4 -3
View File
@@ -23,7 +23,7 @@
}:
let
version = "2.0.1";
version = "2.0.2";
devenvNixVersion = "2.32";
devenvNixRev = "7eb6c427c7a86fdc3ebf9e6cbf2a84e80e8974fd";
@@ -48,15 +48,16 @@ rustPlatform.buildRustPackage {
owner = "cachix";
repo = "devenv";
tag = "v${version}";
hash = "sha256-cZRSu+XbZ2P91cKsjHBAc5uu6fblUyBVE1Cvk3ywPaM=";
hash = "sha256-38crLoAfEOdnEDDZD2NyAEDVlBSFn+MlZyLwztAsC8Q=";
};
cargoHash = "sha256-dzho5gZmfji4n+zHwr2uCqOijCFpVj9loYr8VQNil3g=";
cargoHash = "sha256-e56HmkS+p8P/X7vS+hTT78lfQ2YDCuONM+6yW0RIfSE=";
env = {
RUSTFLAGS = "--cfg tracing_unstable";
LIBSQLITE3_SYS_USE_PKG_CONFIG = "1";
VERGEN_IDEMPOTENT = "1";
DEVENV_ON_RELEASE_TAG = true;
};
cargoBuildFlags = [
@@ -7,7 +7,7 @@
pkg-config,
cairo,
poppler,
wxGTK,
wxwidgets_3_2,
}:
stdenv.mkDerivation rec {
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
buildInputs = [
cairo
poppler
wxGTK
wxwidgets_3_2
];
preConfigure = "./bootstrap";
+3 -3
View File
@@ -7,12 +7,12 @@
diffedit3,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "diffedit3";
version = "0.6.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-tlrP97XMAAnk5H5wTHPsP1DMSmDqV9wJp1n+22jUtnM=";
};
@@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "diffedit3";
maintainers = with lib.maintainers; [ thoughtpolice ];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "dotenvy";
version = "0.15.7";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-virK/TpYBmwTf5UCQCqC/df8iKYAzPBfsQ1nQkFKF2Y=";
};
@@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ phlip9 ];
};
}
})
+3 -3
View File
@@ -7,12 +7,12 @@
dotslash,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "dotslash";
version = "0.5.7";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-VFesGum2xjknUuCwIojntdst5dmhvZb78ejJ2OG1FVI=";
};
@@ -45,4 +45,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "dotslash";
maintainers = with lib.maintainers; [ thoughtpolice ];
};
}
})
+3 -3
View File
@@ -8,12 +8,12 @@
libiconv,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "duckscript_cli";
version = "0.11.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-afxzZkmmYnprUBquH681VHMDs3Co9C71chNoKbu6lEY=";
};
@@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ mkg20001 ];
mainProgram = "duck";
};
}
})
+2 -2
View File
@@ -12,11 +12,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "eigenwallet";
version = "3.6.7";
version = "3.7.0";
src = fetchurl {
url = "https://github.com/eigenwallet/core/releases/download/${finalAttrs.version}/eigenwallet_${finalAttrs.version}_amd64.deb";
hash = "sha256-kIu0TLFw5hxUnCItgSNB+XuxpC1gKXvu+k4vQH1UitA=";
hash = "sha256-0iLO9D2Xvgn2bkTbl6c/XGBRJm3t4AuoYRlCZaxHneo=";
};
nativeBuildInputs = [
+3 -3
View File
@@ -7,12 +7,12 @@
udev,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "elf2uf2-rs";
version = "2.2.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-e0i8ecjfNZxQgX5kDU1T8yAGUl4J7mbgG+ueBFsyTNA=";
};
@@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec {
moni
];
};
}
})
+2 -2
View File
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
];
env = {
ENGAGE_DOCS_LINK = "file://${placeholder "doc"}/share/doc/${finalAttrs.pname}/index.html";
ENGAGE_DOCS_LINK = "file://${placeholder "doc"}/share/doc/engage/index.html";
};
src = fetchFromGitLab {
@@ -57,7 +57,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
${lib.getExe mdbook} build
mkdir -p "$doc/share/doc"
mv public "$doc/share/doc/${finalAttrs.pname}"
mv public "$doc/share/doc/engage"
'';
meta = {
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "eva";
version = "0.3.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-eX2d9h6zNbheS68j3lyhJW05JZmQN2I2MdcmiZB8Mec=";
};
@@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "eva";
};
}
})
+3 -3
View File
@@ -13,7 +13,7 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "eww";
version = "0.6.0-unstable-2025-06-30";
@@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec {
"eww"
];
cargoTestFlags = cargoBuildFlags;
cargoTestFlags = finalAttrs.cargoBuildFlags;
# requires unstable rust features
env.RUSTC_BOOTSTRAP = 1;
@@ -76,4 +76,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "eww";
broken = stdenv.hostPlatform.isDarwin;
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "faketty";
version = "1.0.20";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-1AX2DBFOSUcORSQCo/5Vd8puE4hJU9VDfVqxcZDKrrY=";
};
@@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Wrapper to execute a command in a pty, even if redirecting the output";
homepage = "https://github.com/dtolnay/faketty";
changelog = "https://github.com/dtolnay/faketty/releases/tag/${version}";
changelog = "https://github.com/dtolnay/faketty/releases/tag/${finalAttrs.version}";
license = with lib.licenses; [
asl20 # or
mit
@@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ figsoda ];
mainProgram = "faketty";
};
}
})
+7
View File
@@ -0,0 +1,7 @@
{
ffado,
}:
ffado.override {
withMixer = true;
}
+3 -3
View File
@@ -7,12 +7,12 @@
capnproto,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "flowgger";
version = "0.3.2";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-eybahv1A/AIpAXGj6/md8k+b9fu9gSchU16fnAWZP2s=";
};
@@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec {
maintainers = [ ];
mainProgram = "flowgger";
};
}
})
@@ -6,7 +6,7 @@
openssl_3,
protobuf,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "fortanix-sgx-tools";
version = "0.6.1";
nativeBuildInputs = [
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
];
buildInputs = [ openssl_3 ];
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-IVkmZs3imzj8uN8kqEzN/Oio3H+Nqzu8ORjARNx1TpQ=";
};
@@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec {
platforms = [ "x86_64-linux" ];
license = lib.licenses.mpl20;
};
}
})
+4 -4
View File
@@ -15,12 +15,12 @@
assert lib.assertMsg (
!(lib.elem "default" features || lib.elem "llvm_backend" features)
) "LLVM support has been dropped due to LLVM 12 EOL.";
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "frawk";
version = "0.4.8";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-wPnMJDx3aF1Slx5pjLfii366pgNU3FJBdznQLuUboYA=";
};
@@ -51,11 +51,11 @@ rustPlatform.buildRustPackage rec {
description = "Small programming language for writing short programs processing textual data";
mainProgram = "frawk";
homepage = "https://github.com/ezrosent/frawk";
changelog = "https://github.com/ezrosent/frawk/releases/tag/v${version}";
changelog = "https://github.com/ezrosent/frawk/releases/tag/v${finalAttrs.version}";
license = with lib.licenses; [
mit # or
asl20
];
maintainers = [ ];
};
}
})
@@ -6,10 +6,10 @@
pkg-config,
autoconf,
automake,
kerberos,
krb5,
openldap,
popt,
sasl,
cyrus_sasl,
curl,
xmlrpc_c,
ding-libs,
@@ -22,12 +22,12 @@
libuuid,
talloc,
tevent,
samba,
samba4,
libunistring,
libverto,
libpwquality,
systemd,
python3,
python3Packages,
bind,
sssd,
jre,
@@ -39,7 +39,7 @@
}:
let
pythonInputs = with python3.pkgs; [
pythonInputs = with python3Packages; [
distutils
six
python-ldap
@@ -64,13 +64,21 @@ let
samba
ifaddr
];
# NOTE: freeipa and sssd need to be built with the same version of python
kerberos = krb5.override {
withVerto = true;
};
sasl = cyrus_sasl;
samba = samba4.override {
enableLDAP = true;
};
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "freeipa";
version = "4.12.5";
src = fetchurl {
url = "https://releases.pagure.org/freeipa/freeipa-${version}.tar.gz";
url = "https://releases.pagure.org/freeipa/freeipa-${finalAttrs.version}.tar.gz";
hash = "sha256-jvXS9Hx9VGFccFL19HogfH15JVIW7pc3/TY1pOvJglM=";
};
@@ -88,7 +96,7 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [
python3.pkgs.wrapPython
python3Packages.wrapPython
jre
rhino
lesscpy
@@ -107,7 +115,6 @@ stdenv.mkDerivation rec {
xmlrpc_c
ding-libs
p11-kit
python3
nspr
nss
_389-ds-base
@@ -170,7 +177,7 @@ stdenv.mkDerivation rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
versionCheckProgram = "${placeholder "out"}/bin/ipa";
doInstallCheck = true;
meta = {
@@ -191,4 +198,4 @@ stdenv.mkDerivation rec {
platforms = lib.platforms.linux;
mainProgram = "ipa";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "french-numbers";
version = "1.2.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-6mcqT0RZddHlzjyZzx0JGTfCRcQ2UQ3Qlmk0VVNzsnI=";
};
@@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "french-numbers";
maintainers = with lib.maintainers; [ samueltardieu ];
};
}
})
+1 -1
View File
@@ -49,7 +49,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
];
postFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
patchelf $out/bin/${finalAttrs.pname} \
patchelf $out/bin/${finalAttrs.meta.mainProgram} \
--add-rpath ${
lib.makeLibraryPath [
vulkan-loader
+4 -4
View File
@@ -14,19 +14,19 @@
gel,
testers,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "gel";
version = "7.10.2";
src = fetchFromGitHub {
owner = "geldata";
repo = "gel-cli";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-Fy4J7puunqB5TeUsafnOotoWNvtTGiMJZ06YII14zIM=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
inherit (finalAttrs) pname version src;
hash = "sha256-VRZjI8C0u+6MkQgzt0PApeUtrGR5UqvnLZxityMGnDo=";
};
@@ -80,4 +80,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "gel";
};
}
})
+3 -3
View File
@@ -5,12 +5,12 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "genemichaels";
version = "0.9.5";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-KaGG2amPk/+fL7xLAfZw4SmCzXc+hS/9IkBG7G6sngI=";
};
@@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ djacu ];
mainProgram = "genemichaels";
};
}
})
+3 -3
View File
@@ -5,12 +5,12 @@
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "gh-cal";
version = "0.1.3";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-x9DekflZoXxH964isWCi6YuV3v/iIyYOuRYVgKaUBx0=";
};
@@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ loicreynier ];
mainProgram = "gh-cal";
};
}
})
@@ -1,22 +1,20 @@
{
lib,
buildPythonApplication,
python3Packages,
fetchFromGitHub,
pyqt5,
qt5,
git-annex-adapter,
}:
buildPythonApplication rec {
python3Packages.buildPythonApplication (finalAttrs: {
pname = "git-annex-metadata-gui";
version = "0.2.0";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "alpernebbi";
repo = "git-annex-metadata-gui";
rev = "v${version}";
sha256 = "03kch67k0q9lcs817906g864wwabkn208aiqvbiyqp1qbg99skam";
tag = "v${finalAttrs.version}";
hash = "sha256-VU2d0ls4XOzj2jgqBISdS3FODHoGpBOQZjRhMI+BbA4=";
};
prePatch = ''
@@ -29,9 +27,13 @@ buildPythonApplication rec {
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
propagatedBuildInputs = [
pyqt5
git-annex-adapter
build-system = [
python3Packages.setuptools
];
dependencies = [
python3Packages.pyqt5
python3Packages.git-annex-adapter
];
meta = {
@@ -45,4 +47,4 @@ buildPythonApplication rec {
license = lib.licenses.gpl3Plus;
platforms = with lib.platforms; linux;
};
}
})
+4 -4
View File
@@ -8,12 +8,12 @@
stdenv,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "gitlab-timelogs";
version = "0.7.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-DNMJczR4yaglIOcNmb2E1g+UP0VeJaIb5TvdKUcWzc0=";
};
@@ -37,11 +37,11 @@ rustPlatform.buildRustPackage rec {
gitlab-timelogs is not associated with the official GitLab project!
'';
homepage = "https://github.com/phip1611/gitlab-timelogs";
changelog = "https://github.com/phip1611/gitlab-timelogs/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/phip1611/gitlab-timelogs/blob/v${finalAttrs.version}/CHANGELOG.md";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [
blitz
phip1611
];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "globe-cli";
version = "0.2.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-Np1f/mSMIMZU3hE0Fur8bOHhOH3rZyroGiVAqfiIs7g=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ devhell ];
mainProgram = "globe";
};
}
})
+4 -4
View File
@@ -15,14 +15,14 @@
makeWrapper,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "gpustat";
version = "0.1.5";
src = fetchFromGitHub {
owner = "arduano";
repo = "gpustat";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-M9P/qfw/tp9ogkNOE3b2fD2rGFnii1/VwmqJHqXb7Mg=";
};
@@ -60,7 +60,7 @@ rustPlatform.buildRustPackage rec {
# https://github.com/emilk/egui/issues/2486
postFixup = ''
wrapProgram $out/bin/gpustat \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}:/run/opengl-driver/lib"
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}:/run/opengl-driver/lib"
'';
meta = {
@@ -71,4 +71,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "gpustat";
platforms = lib.platforms.linux;
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "grass";
version = "0.13.4";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-uk4XLF0QsH9Nhz73PmdSpwhxPdCh+DlNNqtbJtLWgNI=";
};
@@ -22,10 +22,10 @@ rustPlatform.buildRustPackage rec {
description = "Sass compiler written purely in Rust";
homepage = "https://github.com/connorskees/grass";
changelog = "https://github.com/connorskees/grass/blob/master/CHANGELOG.md#${
lib.replaceStrings [ "." ] [ "" ] version
lib.replaceStrings [ "." ] [ "" ] finalAttrs.version
}";
license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "grass";
};
}
})
@@ -7,13 +7,13 @@
buildGoModule (finalAttrs: {
pname = "grpc-health-probe";
version = "0.4.45";
version = "0.4.46";
src = fetchFromGitHub {
owner = "grpc-ecosystem";
repo = "grpc-health-probe";
rev = "v${finalAttrs.version}";
hash = "sha256-kzliXJJHVw75wBJ7GKkCxKiuE7tnprIrm1ss9FoHKB8=";
hash = "sha256-+HLYlC0B97iI0Z0bJ1bLTVGi/VtynKmmLBnlS3KcpXY=";
};
tags = [
@@ -25,7 +25,7 @@ buildGoModule (finalAttrs: {
"-X main.versionTag=${finalAttrs.version}"
];
vendorHash = "sha256-WGY4vj1a+sOKKmuY+1RD/GPOKIUunfdBor0xG64IJY8=";
vendorHash = "sha256-4JvUAA1yt9s3pSEGtP7TY96rco64yaNnGC9ZlyzKM5g=";
nativeInstallCheckInputs = [
versionCheckHook
+5 -5
View File
@@ -11,14 +11,14 @@
cacert,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "habitat";
version = "1.6.1245";
src = fetchFromGitHub {
owner = "habitat-sh";
repo = "habitat";
rev = version;
rev = finalAttrs.version;
hash = "sha256-n2ylJSCXPnnPHadfZaRS/3vxtnvkXhiTzCyObK7hmEk=";
};
@@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec {
"-p"
"hab"
];
cargoTestFlags = cargoBuildFlags;
cargoTestFlags = finalAttrs.cargoBuildFlags;
env = {
OPENSSL_NO_VENDOR = true;
@@ -51,7 +51,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Application automation framework";
homepage = "https://www.habitat.sh";
changelog = "https://github.com/habitat-sh/habitat/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/habitat-sh/habitat/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
rushmorem
@@ -60,4 +60,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "hab";
platforms = [ "x86_64-linux" ];
};
}
})
+3 -3
View File
@@ -5,12 +5,12 @@
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "hadolint-sarif";
version = "0.8.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-7xvo194lCQpDtLgwX6rZEkwG3hYTp5czjw4GrEaivsI=";
};
@@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ getchoo ];
mainProgram = "hadolint-sarif";
};
}
})
+8 -8
View File
@@ -19,14 +19,14 @@
alsa-lib,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "halloy";
version = "2026.2";
src = fetchFromGitHub {
owner = "squidowl";
repo = "halloy";
tag = version;
tag = finalAttrs.version;
hash = "sha256-xx4r6vdUeh0yr986+Z67xtViQA7mMpsXmTohu3jIwMs=";
};
@@ -58,7 +58,7 @@ rustPlatform.buildRustPackage rec {
desktopName = "Halloy";
comment = "IRC client written in Rust";
icon = "org.squidowl.halloy";
exec = pname;
exec = finalAttrs.meta.mainProgram;
terminal = false;
mimeTypes = [
"x-scheme-handler/irc"
@@ -99,11 +99,11 @@ rustPlatform.buildRustPackage rec {
APP_DIR="$out/Applications/Halloy.app/Contents"
mkdir -p "$APP_DIR/MacOS"
cp -r ${src}/assets/macos/Halloy.app/Contents/* "$APP_DIR"
cp -r ${finalAttrs.src}/assets/macos/Halloy.app/Contents/* "$APP_DIR"
substituteInPlace "$APP_DIR/Info.plist" \
--replace-fail "{{ VERSION }}" "${version}" \
--replace-fail "{{ BUILD }}" "${version}-nixpkgs"
--replace-fail "{{ VERSION }}" "${finalAttrs.version}" \
--replace-fail "{{ BUILD }}" "${finalAttrs.version}-nixpkgs"
makeWrapper "$out/bin/halloy" "$APP_DIR/MacOS/halloy"
'';
@@ -113,7 +113,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "IRC application";
homepage = "https://github.com/squidowl/halloy";
changelog = "https://github.com/squidowl/halloy/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/squidowl/halloy/blob/${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [
fab
@@ -122,4 +122,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "halloy";
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "hayagriva";
version = "0.9.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-9PGo/TPk5QuiVoa5wUGyHufW/VaxqhinxS+u2JMPZBY=";
};
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Work with references: Literature database management, storage, and citation formatting";
homepage = "https://github.com/typst/hayagriva";
changelog = "https://github.com/typst/hayagriva/releases/tag/v${version}";
changelog = "https://github.com/typst/hayagriva/releases/tag/v${finalAttrs.version}";
license = with lib.licenses; [
asl20
mit
@@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec {
maintainers = [ ];
mainProgram = "hayagriva";
};
}
})
+1
View File
@@ -0,0 +1 @@
{ python3Packages }: with python3Packages; toPythonApplication heretic-llm
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "huniq";
version = "2.7.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-5GvHM05qY/Jj1mPYwn88Zybn6Nn5nJIaw0XP8iCcrwE=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "hvm";
version = "2.0.22";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-AD8mv47m4E6H8BVkxTExyhrR7VEnuB/KxnRl2puPnX4=";
};
@@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.asl20;
maintainers = [ ];
};
}
})
+3 -3
View File
@@ -3,12 +3,12 @@
rustPlatform,
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "i3-open-next-ws";
version = "0.1.5";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-eYHCm8jEv6Ll6/h1kcYHNxWGnVWI41ZB96Jec9oZFsY=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ quantenzitrone ];
platforms = lib.platforms.linux;
};
}
})
+3 -3
View File
@@ -8,12 +8,12 @@
stdenv,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "inputplug";
version = "0.4.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-8Gy0h0QMcittnjuKm+atIJNsY2d6Ua29oab4fkUU+wE=";
};
@@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ jecaro ];
mainProgram = "inputplug";
};
}
})
+5 -5
View File
@@ -4,14 +4,14 @@
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "jfmt";
version = "1.2.1";
src = fetchFromGitHub {
owner = "scruffystuffs";
repo = "${pname}.rs";
rev = "v${version}";
repo = "jfmt.rs";
rev = "v${finalAttrs.version}";
hash = "sha256-X3wk669G07BTPAT5xGbAfIu2Qk90aaJIi1CLmOnSG80=";
};
@@ -21,8 +21,8 @@ rustPlatform.buildRustPackage rec {
description = "CLI utility to format json files";
mainProgram = "jfmt";
homepage = "https://github.com/scruffystuffs/jfmt.rs";
changelog = "https://github.com/scruffystuffs/jfmt.rs/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/scruffystuffs/jfmt.rs/blob/${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.psibi ];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "just-formatter";
version = "1.1.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-HTv55WquFieWmkEKX5sbBOVyYxzjcB/NrMkxbQsff90=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ vuimuich ];
mainProgram = "just-formatter";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "keepass-diff";
version = "1.2.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-CqLH5Dosp26YfqgOVcZilfo5svAEv+pAbi1zebGMnb4=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ wamserma ];
mainProgram = "keepass-diff";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "kind2";
version = "0.3.10";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-X2sjfYrSSym289jDJV3hNmcwyQCMnrabmGCUKD5wfdY=";
};
@@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.mit;
maintainers = [ ];
};
}
})
+4 -4
View File
@@ -3,12 +3,12 @@
rustPlatform,
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "krabby";
version = "0.3.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-UcvCIazuVoqYb4iz62MrOVtQli4EqzrEpg3imv3sXHY=";
};
@@ -17,9 +17,9 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Print pokemon sprites in your terminal";
homepage = "https://github.com/yannjor/krabby";
changelog = "https://github.com/yannjor/krabby/releases/tag/v${version}";
changelog = "https://github.com/yannjor/krabby/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ ruby0b ];
mainProgram = "krabby";
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "lemmeknow";
version = "0.8.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-Q82tP4xNWAooFjHeJCFmuULnWlFbgca/9Y2lm8rVXKs=";
};
@@ -18,9 +18,9 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Tool to identify anything";
homepage = "https://github.com/swanandx/lemmeknow";
changelog = "https://github.com/swanandx/lemmeknow/releases/tag/v${version}";
changelog = "https://github.com/swanandx/lemmeknow/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "lemmeknow";
};
}
})
+20 -1
View File
@@ -33,11 +33,13 @@
python3,
readline,
rpcsvc-proto,
runtimeShell,
stdenv,
replaceVars,
xhtml1,
json_c,
writeScript,
writeShellApplication,
nixosTests,
# Linux
@@ -165,6 +167,7 @@ stdenv.mkDerivation rec {
# Darwin doesnt support -fsemantic-interposition, but the problem doesnt seem to affect Mach-O.
# See https://gitlab.com/libvirt/libvirt/-/merge_requests/235
sed -i "s/not supported_cc_flags.contains('-fsemantic-interposition')/false/" meson.build
sed -i '/qemucapabilitiestest/d' tests/meson.build
sed -i '/qemufirmwaretest/d' tests/meson.build
sed -i '/qemuhotplugtest/d' tests/meson.build
sed -i '/qemuvhostusertest/d' tests/meson.build
@@ -179,7 +182,23 @@ stdenv.mkDerivation rec {
sed -i '/libxlxml2domconfigtest/d' tests/meson.build
substituteInPlace src/libxl/libxl_capabilities.h \
--replace-fail /usr/lib/xen ${xen}/libexec/xen
'';
''
+ lib.optionalString isLinux (
let
script = writeShellApplication {
name = "virt-secret-init-encryption-sh";
runtimeInputs = [
coreutils
systemd
];
text = ''exec ${runtimeShell} "$@"'';
};
in
''
substituteInPlace src/secret/virt-secret-init-encryption.service.in \
--replace-fail /usr/bin/sh ${lib.getExe script}
''
);
strictDeps = true;

Some files were not shown because too many files have changed in this diff Show More