mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
gb-backup: unstable-2021-10-27 -> 0-unstable-2026-06-05; lepton: remove (#536806)
This commit is contained in:
@@ -1,36 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
makeWrapper,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
lepton,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "gb-backup";
|
||||
version = "unstable-2021-10-27";
|
||||
version = "0-unstable-2026-06-05";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "leijurv";
|
||||
repo = "gb";
|
||||
rev = "61383d445af7b035fb8e1df0cacc424340dd16df";
|
||||
sha256 = "sha256-YRrD2gW+gzxD2JwadCbF/SBSsHeeGPsa8kKZHHAytVo=";
|
||||
rev = "d388723a2cbed495bcf1793aa0958a9ba4f3d6b9";
|
||||
hash = "sha256-um2wMfHdEL3GkILtM7R/bNW17pknq0M/CCfHPlu6/58=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-H3Zf4VNJVX9C3GTeqU4YhNqCIQz1R55MfhrygDgJTxc=";
|
||||
vendorHash = "sha256-fjOIp2LUBaAPAPMxU2T+qbIQZgmVa0vNPYzW2hOsBr8=";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
nativeCheckInputs = [ lepton ];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/gb --prefix PATH : ${lib.makeBinPath [ lepton ]}
|
||||
'';
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version=branch" ];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Gamer Backup, a super opinionated cloud backup system";
|
||||
homepage = "https://github.com/leijurv/gb";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = with lib.maintainers; [ babbaj ];
|
||||
mainProgram = "gb";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
git,
|
||||
glibc,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "2019-08-20";
|
||||
pname = "lepton-unstable";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "lepton";
|
||||
owner = "dropbox";
|
||||
rev = "3d1bc19da9f13a6e817938afd0f61a81110be4da";
|
||||
sha256 = "0aqs6nvcbq8cbfv8699fa634bsz7csmk0169n069yvv17d1c07fd";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
git
|
||||
];
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ glibc.static ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/dropbox/lepton";
|
||||
description = "Tool to losslessly compress JPEGs";
|
||||
license = lib.licenses.asl20;
|
||||
platforms = [
|
||||
"x86_64-linux"
|
||||
"x86_64-darwin"
|
||||
];
|
||||
maintainers = with lib.maintainers; [ artemist ];
|
||||
knownVulnerabilities = [ "CVE-2022-4104" ];
|
||||
};
|
||||
}
|
||||
@@ -1165,6 +1165,7 @@ mapAliases {
|
||||
leaf = throw "'leaf' has been removed as it is unmaintained. Consider using 'fastfetch' instead"; # Added 2026-04-24
|
||||
ledger-agent = throw "ledger-agent has been removed because upstream dropped Ledger support"; # Added 2026-03-11
|
||||
ledger_agent = throw "ledger-agent has been removed because upstream dropped Ledger support"; # Added 2026-03-11
|
||||
lepton = throw "'lepton' has been removed as it is archived upstream and has known vulnerabilities (CVE-2022-4104). Consider using 'lepton-jpeg-util' instead"; # Added 2026-06-29
|
||||
lesstif = throw "'lesstif' has been removed due to its being broken and unmaintained upstream. Consider using 'motif' instead."; # Added 2025-06-09
|
||||
lexical = throw "'lexical' has been removed because it was deprecated and archived upstream. Consider using 'beamPackages.expert' instead"; # Added 2026-02-24
|
||||
lfe = warnAlias "'lfe' is deprecated in favor of using the beamPackages sets. Use 'beam27Packages.lfe' instead." beam27Packages.lfe; # added 2026-06-15
|
||||
|
||||
Reference in New Issue
Block a user