mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
pkgs/tools/admin: remove dead code
with the help of deadnix & nil
This commit is contained in:
parent
adcbabfac2
commit
fdd31f980e
@ -8,7 +8,7 @@
|
||||
let
|
||||
py = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
pyyaml = super.pyyaml.overridePythonAttrs (oldAttrs: rec {
|
||||
pyyaml = super.pyyaml.overridePythonAttrs rec {
|
||||
version = "5.4.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "yaml";
|
||||
@ -21,7 +21,7 @@ let
|
||||
PYTHONPATH="tests/lib3:$PYTHONPATH" ${self.python.interpreter} -m test_all
|
||||
runHook postCheck
|
||||
'';
|
||||
});
|
||||
};
|
||||
};
|
||||
self = py;
|
||||
};
|
||||
|
@ -14,7 +14,7 @@ let
|
||||
|
||||
# put packages that needs to be overridden in the py package scope
|
||||
py = import ./python-packages.nix {
|
||||
inherit stdenv lib src version python3 fetchPypi;
|
||||
inherit stdenv src version python3 fetchPypi;
|
||||
};
|
||||
in
|
||||
py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, python3, fetchPypi, lib, src, version }:
|
||||
{ stdenv, python3, fetchPypi, src, version }:
|
||||
|
||||
let
|
||||
buildAzureCliPackage = with py.pkgs; buildPythonPackage;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "credhub-cli";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ buildGoModule, fetchFromGitHub, lib, stdenv }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "cw";
|
||||
|
@ -3,7 +3,7 @@
|
||||
let
|
||||
python = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
pyparsing = super.pyparsing.overridePythonAttrs (oldAttrs: rec {
|
||||
pyparsing = super.pyparsing.overridePythonAttrs rec {
|
||||
version = "2.4.7";
|
||||
src = fetchFromGitHub {
|
||||
owner = "pyparsing";
|
||||
@ -14,7 +14,7 @@ let
|
||||
nativeBuildInputs = [
|
||||
super.setuptools
|
||||
];
|
||||
});
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
|
@ -1,12 +1,10 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, google-cloud-sdk
|
||||
{ lib
|
||||
, stdenv
|
||||
, system
|
||||
, snapshotPath
|
||||
, autoPatchelfHook
|
||||
, python3
|
||||
, libxcrypt-legacy
|
||||
, ...
|
||||
}:
|
||||
|
||||
let
|
||||
@ -143,7 +141,7 @@ let
|
||||
{
|
||||
url = src;
|
||||
inherit sha256;
|
||||
}) ;
|
||||
});
|
||||
dontUnpack = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out/google-cloud-sdk/.install
|
||||
|
@ -7,7 +7,7 @@
|
||||
# 3) used by `google-cloud-sdk` only on GCE guests
|
||||
#
|
||||
|
||||
{ stdenv, lib, fetchurl, makeWrapper, nixosTests, python, openssl, jq, callPackage, with-gce ? false }:
|
||||
{ stdenv, lib, fetchurl, makeWrapper, python, openssl, jq, callPackage, with-gce ? false }:
|
||||
|
||||
let
|
||||
pythonEnv = python.withPackages (p: with p; [
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, google-cloud-sdk, callPackage, runCommand, components }:
|
||||
{ lib, google-cloud-sdk, runCommand, components }:
|
||||
|
||||
comps_:
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
{ stdenv
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, testers
|
||||
, kics
|
||||
}:
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, fetchpatch, fetchzip, yarn2nix-moretea, nodejs_18, jq, dos2unix }:
|
||||
{ lib, fetchzip, yarn2nix-moretea, nodejs_18, dos2unix }:
|
||||
|
||||
yarn2nix-moretea.mkYarnPackage {
|
||||
version = "1.1.6";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
version = "1.7.16";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "syft";
|
||||
|
@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, xorg
|
||||
, xkeyboard_config
|
||||
, zlib
|
||||
|
Loading…
Reference in New Issue
Block a user