pkgs/tools/security: remove dead code

with the help of deadnix & nil
This commit is contained in:
figsoda 2023-07-12 14:27:24 -04:00
parent 9a1074ae6b
commit f97ce0a9a8
37 changed files with 26 additions and 74 deletions

View file

@ -1,11 +1,10 @@
{ lib
, stdenv
, fetchFromGitHub
, john
, python3
}:
python3.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication {
pname = "adenum";
version = "unstable-2022-04-01";
format = "other";

View file

@ -1,6 +1,6 @@
{ lib, stdenv, stdenvNoCC, fetchFromGitHub, callPackage, makeWrapper
, clang, llvm, gcc, which, libcgroup, python3, perl, gmp
, file, wine ? null, fetchpatch
, file, wine ? null
, cmocka
, llvmPackages
}:
@ -11,7 +11,7 @@
assert (wine != null) -> (stdenv.targetPlatform.system == "i686-linux");
let
aflplusplus-qemu = callPackage ./qemu.nix { inherit aflplusplus; };
aflplusplus-qemu = callPackage ./qemu.nix { };
qemu-exe-name = if stdenv.targetPlatform.system == "x86_64-linux" then "qemu-x86_64"
else if stdenv.targetPlatform.system == "i686-linux" then "qemu-i386"
else throw "aflplusplus: no support for ${stdenv.targetPlatform.system}!";

View file

@ -1,7 +1,5 @@
{ lib
, stdenv
, fetchurl
, aflplusplus
, python3
, zlib
, pkg-config
@ -19,10 +17,6 @@
let
qemuName = "qemu-5.2.50";
cpuTarget =
if stdenv.targetPlatform.system == "x86_64-linux" then "x86_64-linux-user"
else if stdenv.targetPlatform.system == "i686-linux" then "i386-linux-user"
else throw "aflplusplus: no support for ${stdenv.targetPlatform.system}!";
in
stdenv.mkDerivation {
name = "aflplusplus-${qemuName}";

View file

@ -1,7 +1,6 @@
{ lib
, fetchCrate
, fetchpatch
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {

View file

@ -1,5 +1,4 @@
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
}:

View file

@ -1,4 +1,4 @@
{ lib, stdenv, perl, perlPackages, fetchurl }:
{ lib, stdenv, perl, fetchurl }:
stdenv.mkDerivation rec {
pname = "davtest";

View file

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {

View file

@ -7,12 +7,10 @@
, ninja
, perl
, gettext
, cairo
, gtk-doc
, libxslt
, docbook-xsl-nons
, docbook_xml_dtd_412
, fetchurl
, glib
, gusb
, dbus

View file

@ -1,5 +1,4 @@
{ lib
, stdenv
, fetchFromGitHub
, python3
, cacert

View file

@ -1,6 +1,4 @@
{ stdenv
, fetchzip
, fetchurl
, fetchFromGitHub
, lib
, gradle_7
@ -9,11 +7,9 @@
, openjdk17
, unzip
, makeDesktopItem
, autoPatchelfHook
, icoutils
, xcbuild
, protobuf
, libredirect
}:
let
@ -116,7 +112,7 @@ HERE
outputHash = "sha256-HveS3f8XHpJqefc4djYmnYfd01H2OBFK5PLNOsHAqlc=";
};
in stdenv.mkDerivation rec {
in stdenv.mkDerivation {
inherit pname version src;
nativeBuildInputs = [

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, boost, libseccomp, flex, python3Packages, swig4, bison, cmake, python3 }:
{ lib, stdenv, fetchFromGitHub, boost, libseccomp, flex, swig4, bison, cmake, python3 }:
stdenv.mkDerivation rec {
pname = "grap";

View file

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, callPackage
, makeWrapper
, clang
, llvm

View file

@ -1,6 +1,4 @@
{ lib
, autoconf
, automake
, autoreconfHook
, fetchFromGitHub
, fetchpatch

View file

@ -6,7 +6,7 @@
let
py = python3.override {
packageOverrides = self: super: {
emoji = super.emoji.overridePythonAttrs (oldAttrs: rec {
emoji = super.emoji.overridePythonAttrs rec {
version = "1.7.0";
src = fetchFromGitHub {
@ -15,11 +15,11 @@ let
rev = "v${version}";
sha256 = "sha256-vKQ51RP7uy57vP3dOnHZRSp/Wz+YDzeLUR8JnIELE/I=";
};
});
};
# Support for later tweepy releases is missing
# https://github.com/ranguli/ioccheck/issues/70
tweepy = super.tweepy.overridePythonAttrs (oldAttrs: rec {
tweepy = super.tweepy.overridePythonAttrs rec {
version = "3.10.0";
src = fetchFromGitHub {
@ -29,7 +29,7 @@ let
sha256 = "0k4bdlwjna6f1k19jki4xqgckrinkkw8b9wihzymr1l04rwd05nw";
};
doCheck = false;
});
};
};
};
in

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security, fetchpatch }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "jwt-cli";

View file

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, keybase }:
{ lib, buildGoModule, keybase }:
buildGoModule {
pname = "kbfs";

View file

@ -3,7 +3,6 @@
, fetchurl
, unzip
, dos2unix
, makeWrapper
, msbuild
, mono
}:

View file

@ -1,7 +1,6 @@
{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, cmake
, pkg-config
, openssl

View file

@ -2,9 +2,7 @@
, lib
, fetchFromGitLab
, fetchpatch
, gnome
, gobject-introspection
, gtk3
, intltool
, python3
, wrapGAppsHook

View file

@ -1,6 +1,4 @@
{ fetchgit
, lib
, makeDesktopItem
{ lib
, node_webkit
, pkgs
, runCommand
@ -25,10 +23,10 @@ let
# define a shortcut to get to onlykey.
onlykey = self."${onlykeyPkg}";
super = (import ./onlykey.nix {
super = import ./onlykey.nix {
inherit pkgs;
inherit (stdenv.hostPlatform) system;
});
};
self = super // {
"${onlykeyPkg}" = super."${onlykeyPkg}".override (attrs: {
@ -48,14 +46,6 @@ let
script = writeShellScript "${onlykey.packageName}-starter-${onlykey.version}" ''
${node_webkit}/bin/nw ${onlykey}/lib/node_modules/${onlykey.packageName}/build
'';
desktop = makeDesktopItem {
name = onlykey.packageName;
exec = script;
icon = "${onlykey}/lib/node_modules/${onlykey.packageName}/resources/onlykey_logo_128.png";
desktopName = onlykey.packageName;
genericName = onlykey.packageName;
};
in
runCommand "${onlykey.packageName}-${onlykey.version}" { } ''
mkdir -p $out/bin

View file

@ -1,6 +1,6 @@
{ stdenv, lib, pkgs, fetchurl, buildEnv
, coreutils, findutils, gnugrep, gnused, getopt, git, tree, gnupg, openssl
, which, openssh, procps, qrencode, makeWrapper, pass, symlinkJoin
, which, openssh, procps, qrencode, makeWrapper, pass
, xclip ? null, xdotool ? null, dmenu ? null
, x11Support ? !stdenv.isDarwin , dmenuSupport ? (x11Support || waylandSupport)

View file

@ -4,7 +4,6 @@
, python3Packages
, gnupg
, pass
, makeWrapper
}:
python3Packages.buildPythonApplication rec {

View file

@ -3,7 +3,6 @@
, fetchFromGitHub
, makeBinaryWrapper
, substituteAll
, bash
, age
, getopt
, git ? null

View file

@ -1,13 +1,11 @@
{ stdenv
, lib
, runCommand
, fetchzip
, autoPatchelfHook
, dpkg
, gtk3
, openssl_1_1
, pcsclite
, unzip
}:
stdenv.mkDerivation rec {

View file

@ -1,4 +1,4 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, openssl, Security, libiconv, pkg-config, protobuf, which, buildPackages }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, openssl, Security, libiconv, pkg-config, protobuf, buildPackages }:
rustPlatform.buildRustPackage rec {
pname = "quill";

View file

@ -2,7 +2,6 @@
, lib
, rustPlatform
, fetchFromGitHub
, fetchpatch
, pkg-config
, python3
, openssl
@ -10,7 +9,6 @@
, gpgme
, xorg
, nettle
, llvmPackages
, clang
, AppKit
, Security

View file

@ -1,5 +1,4 @@
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
}:

View file

@ -2,7 +2,6 @@
, bundlerApp
, ruby
, bundlerUpdateScript
, defaultGemConfig
, nixosTests
}:

View file

@ -1,7 +1,6 @@
{ lib
, buildGoModule
, fetchFromGitHub
, fetchgit
, installShellFiles
, testers
, scorecard

View file

@ -1,6 +1,5 @@
{ stdenv
{ lib
, fetchFromGitLab
, lib
, nettle
, nix-update-script
, installShellFiles

View file

@ -1,6 +1,5 @@
{ stdenv
{ lib
, fetchFromGitLab
, lib
, nettle
, nix-update-script
, rustPlatform

View file

@ -7,7 +7,7 @@
, softhsm
, opensc
, yubihsm-shell
, writeScriptBin }:
}:
buildGoModule rec {
pname = "step-kms-plugin";

View file

@ -1,5 +1,4 @@
{ stdenv
, lib
{ lib
, buildGoModule
, fetchFromGitHub
, fetchpatch

View file

@ -1,5 +1,4 @@
{ stdenv
, lib
{ lib
, buildGoModule
, fetchFromGitHub
}:

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, unzip, makeWrapper, gawk, glibc, fetchzip }:
{ lib, stdenv, fetchzip }:
stdenv.mkDerivation rec {
pname = "vault-bin";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, callPackage, rustPlatform, fetchFromGitHub, fetchurl, nixosTests
{ lib, stdenv, callPackage, rustPlatform, fetchFromGitHub, nixosTests
, pkg-config, openssl
, libiconv, Security, CoreServices
, dbBackend ? "sqlite", libmysqlclient, postgresql }:

View file

@ -5,7 +5,6 @@
, gtest
, pcsclite
, pkg-config
, qmake
, qttranslations
}: