blackbox: drop
This commit is contained in:
@@ -1,65 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
expect,
|
||||
which,
|
||||
gnupg,
|
||||
coreutils,
|
||||
git,
|
||||
pinentry,
|
||||
gnutar,
|
||||
procps,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "blackbox";
|
||||
version = "1.20220610";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stackexchange";
|
||||
repo = "blackbox";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-g0oNV7Nj7ZMmsVQFVTDwbKtF4a/Fb3WDB+NRx9IGSWA=";
|
||||
};
|
||||
|
||||
buildInputs = [ gnupg ];
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/issues/134445
|
||||
doCheck = !stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64;
|
||||
|
||||
nativeCheckInputs = [
|
||||
expect
|
||||
which
|
||||
coreutils
|
||||
pinentry
|
||||
git
|
||||
gnutar
|
||||
procps
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs bin tools
|
||||
substituteInPlace Makefile \
|
||||
--replace "PREFIX?=/usr/local" "PREFIX=$out"
|
||||
|
||||
substituteInPlace tools/confidence_test.sh \
|
||||
--replace 'PATH="''${blackbox_home}:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/local/bin:/usr/pkg/bin:/usr/pkg/gnu/bin:/usr/local/MacGPG2/bin:/opt/homebrew/bin:''${blackbox_home}"' \
|
||||
"PATH=/build/source/bin/:$PATH"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin
|
||||
make copy-install
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Safely store secrets in a VCS repo";
|
||||
homepage = "https://github.com/StackExchange/blackbox";
|
||||
maintainers = [ ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -367,6 +367,7 @@ mapAliases {
|
||||
bitwarden_rs-postgresql = throw "'bitwarden_rs-postgresql' has been renamed to/replaced by 'vaultwarden-postgresql'"; # Converted to throw 2025-10-27
|
||||
bitwarden_rs-sqlite = throw "'bitwarden_rs-sqlite' has been renamed to/replaced by 'vaultwarden-sqlite'"; # Converted to throw 2025-10-27
|
||||
bitwarden_rs-vault = throw "'bitwarden_rs-vault' has been renamed to/replaced by 'vaultwarden-vault'"; # Converted to throw 2025-10-27
|
||||
blackbox = throw "'blackbox' has been removed since it has been deprecated and archived upstream. Consider using pass instead"; # Added 2026-01-16
|
||||
blas-reference = throw "blas-reference has been removed since it has been discontinued as free-standing package. It is now contained within lapack-reference."; # Added 2025-10-21
|
||||
blender-hip = throw "blender-hip has been removed in favor of setting `config.rocmSupport = true` or using `pkgsRocm.blender`"; # Added 2026-01-04
|
||||
blender-with-packages = throw "blender-with-packages is deprecated in in favor of blender.withPackages, e.g. `blender.withPackages(ps: [ ps.foobar ])`"; # Converted to throw 2025-10-26
|
||||
|
||||
@@ -10187,10 +10187,6 @@ with pkgs;
|
||||
|
||||
bitwig-studio = bitwig-studio5;
|
||||
|
||||
blackbox = callPackage ../applications/version-management/blackbox {
|
||||
pinentry = pinentry-curses;
|
||||
};
|
||||
|
||||
blucontrol = callPackage ../applications/misc/blucontrol/wrapper.nix {
|
||||
inherit (haskellPackages) ghcWithPackages;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user