pkgs/tools/security: remove dead code
with the help of deadnix & nil
This commit is contained in:
parent
9a1074ae6b
commit
f97ce0a9a8
37 changed files with 26 additions and 74 deletions
|
@ -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";
|
||||
|
|
|
@ -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}!";
|
||||
|
|
|
@ -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}";
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ lib
|
||||
, fetchCrate
|
||||
, fetchpatch
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, perl, perlPackages, fetchurl }:
|
||||
{ lib, stdenv, perl, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "davtest";
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
|
|
@ -7,12 +7,10 @@
|
|||
, ninja
|
||||
, perl
|
||||
, gettext
|
||||
, cairo
|
||||
, gtk-doc
|
||||
, libxslt
|
||||
, docbook-xsl-nons
|
||||
, docbook_xml_dtd_412
|
||||
, fetchurl
|
||||
, glib
|
||||
, gusb
|
||||
, dbus
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
, cacert
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, callPackage
|
||||
, makeWrapper
|
||||
, clang
|
||||
, llvm
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{ lib
|
||||
, autoconf
|
||||
, automake
|
||||
, autoreconfHook
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security, fetchpatch }:
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "jwt-cli";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, keybase }:
|
||||
{ lib, buildGoModule, keybase }:
|
||||
|
||||
buildGoModule {
|
||||
pname = "kbfs";
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
, fetchurl
|
||||
, unzip
|
||||
, dos2unix
|
||||
, makeWrapper
|
||||
, msbuild
|
||||
, mono
|
||||
}:
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, cmake
|
||||
, pkg-config
|
||||
, openssl
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
, lib
|
||||
, fetchFromGitLab
|
||||
, fetchpatch
|
||||
, gnome
|
||||
, gobject-introspection
|
||||
, gtk3
|
||||
, intltool
|
||||
, python3
|
||||
, wrapGAppsHook
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
, python3Packages
|
||||
, gnupg
|
||||
, pass
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
, fetchFromGitHub
|
||||
, makeBinaryWrapper
|
||||
, substituteAll
|
||||
, bash
|
||||
, age
|
||||
, getopt
|
||||
, git ? null
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, runCommand
|
||||
, fetchzip
|
||||
, autoPatchelfHook
|
||||
, dpkg
|
||||
, gtk3
|
||||
, openssl_1_1
|
||||
, pcsclite
|
||||
, unzip
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
, lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pkg-config
|
||||
, python3
|
||||
, openssl
|
||||
|
@ -10,7 +9,6 @@
|
|||
, gpgme
|
||||
, xorg
|
||||
, nettle
|
||||
, llvmPackages
|
||||
, clang
|
||||
, AppKit
|
||||
, Security
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
, bundlerApp
|
||||
, ruby
|
||||
, bundlerUpdateScript
|
||||
, defaultGemConfig
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, fetchgit
|
||||
, installShellFiles
|
||||
, testers
|
||||
, scorecard
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{ stdenv
|
||||
{ lib
|
||||
, fetchFromGitLab
|
||||
, lib
|
||||
, nettle
|
||||
, nix-update-script
|
||||
, installShellFiles
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{ stdenv
|
||||
{ lib
|
||||
, fetchFromGitLab
|
||||
, lib
|
||||
, nettle
|
||||
, nix-update-script
|
||||
, rustPlatform
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
, softhsm
|
||||
, opensc
|
||||
, yubihsm-shell
|
||||
, writeScriptBin }:
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "step-kms-plugin";
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, unzip, makeWrapper, gawk, glibc, fetchzip }:
|
||||
{ lib, stdenv, fetchzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vault-bin";
|
||||
|
|
|
@ -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 }:
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
, gtest
|
||||
, pcsclite
|
||||
, pkg-config
|
||||
, qmake
|
||||
, qttranslations
|
||||
}:
|
||||
|
||||
|
|
Loading…
Reference in a new issue