treewide: remove stdenv where not needed

This commit is contained in:
Pavol Rusnak
2021-01-25 18:31:47 +01:00
parent e06e847595
commit a6ce00c50c
2779 changed files with 2844 additions and 2834 deletions
@@ -1,4 +1,4 @@
{ stdenv, buildPythonApplication, fetchFromGitHub, isPy27, pytest, testfixtures, lib }:
{ buildPythonApplication, fetchFromGitHub, isPy27, pytest, testfixtures, lib }:
buildPythonApplication rec {
pname = "bump2version";
@@ -1,4 +1,4 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ghorg";
@@ -1,4 +1,4 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ghq";
@@ -1,4 +1,4 @@
{ lib, stdenv, buildPythonApplication, fetchFromGitHub, pyqt5, qt5, git-annex-adapter }:
{ lib, buildPythonApplication, fetchFromGitHub, pyqt5, qt5, git-annex-adapter }:
buildPythonApplication rec {
pname = "git-annex-metadata-gui";
@@ -1,4 +1,4 @@
{ lib, stdenv, buildGoPackage, fetchgit }:
{ lib, buildGoPackage, fetchgit }:
buildGoPackage rec {
pname = "git-annex-remote-b2";
@@ -1,4 +1,4 @@
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "git-appraise-unstable";
@@ -1,4 +1,4 @@
{ fetchFromGitHub, python3Packages, lib, stdenv, git, graphviz }:
{ fetchFromGitHub, python3Packages, lib, git, graphviz }:
python3Packages.buildPythonApplication rec {
pname = "git-big-picture";
@@ -1,4 +1,4 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "git-bug";
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, python3Packages, gettext, git, qt5 }:
{ lib, fetchFromGitHub, python3Packages, gettext, git, qt5 }:
let
inherit (python3Packages) buildPythonApplication pyqt5 sip pyinotify;
@@ -1,4 +1,4 @@
{ lib, stdenv, bundlerEnv, ruby, bundlerUpdateScript }:
{ lib, bundlerEnv, ruby, bundlerUpdateScript }:
bundlerEnv {
inherit ruby;
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, python3Packages
{ lib, fetchFromGitHub, python3Packages
, asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt, libxml2
}:
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform }:
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "git-vanity-hash";
@@ -1,4 +1,4 @@
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "gitbatch-unstable";
@@ -1,4 +1,4 @@
{ lib, stdenv
{ lib
, buildGoPackage
, fetchFromGitHub
, pkg-config
@@ -1,4 +1,4 @@
{ lib, stdenv, buildEnv, git, fetchFromGitHub
{ lib, buildEnv, git, fetchFromGitHub
, gitwebTheme ? false }:
let
@@ -1,4 +1,4 @@
{ lib, stdenv, buildGoPackage, fetchFromGitHub, curl, ncurses, pkg-config, readline
{ lib, buildGoPackage, fetchFromGitHub, curl, ncurses, pkg-config, readline
, cmake }:
let
version = "0.3.2";
@@ -1,4 +1,4 @@
{ lib, stdenv, buildGoPackage, fetchFromGitHub, git, groff, installShellFiles, util-linux, nixosTests }:
{ lib, buildGoPackage, fetchFromGitHub, git, groff, installShellFiles, util-linux, nixosTests }:
buildGoPackage rec {
pname = "hub";
@@ -1,4 +1,4 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
# Currently `buildGo114Module` is passed as `buildGoModule` from
# `../default.nix`. Please remove the fixed 1.14 once a new release has been
@@ -1,4 +1,4 @@
{ lib, stdenv, buildPythonApplication, fetchFromGitHub, pyxdg, pytest, pytest-mock }:
{ lib, buildPythonApplication, fetchFromGitHub, pyxdg, pytest, pytest-mock }:
buildPythonApplication rec {
pname = "pass-git-helper";
@@ -1,4 +1,4 @@
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "scmpuff";
@@ -1,4 +1,4 @@
{ lib, stdenv, python3Packages, fetchFromGitHub, git, installShellFiles }:
{ lib, python3Packages, fetchFromGitHub, git, installShellFiles }:
python3Packages.buildPythonApplication rec {
pname = "stgit";
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, pythonPackages }:
{ lib, fetchFromGitHub, pythonPackages }:
pythonPackages.buildPythonApplication rec {
pname = "git-crecord";
@@ -1,4 +1,4 @@
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "git-lfs";
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pythonPackages, git }:
{ lib, fetchurl, pythonPackages, git }:
pythonPackages.buildPythonApplication rec {
pname = "git-up";
@@ -1,4 +1,4 @@
{ lib, stdenv, buildGoPackage, fetchurl, makeWrapper
{ lib, buildGoPackage, fetchurl, makeWrapper
, git, bash, gzip, openssh, pam
, sqliteSupport ? true
, pamSupport ? true
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchzip, python2Packages}:
{ lib, fetchzip, python2Packages}:
python2Packages.buildPythonApplication rec {
pname = "gitinspector";
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitLab, fetchFromGitHub, buildGoModule, ruby
{ lib, fetchFromGitLab, fetchFromGitHub, buildGoModule, ruby
, bundlerEnv, pkg-config
# libgit2 + dependencies
, libgit2, openssl, zlib, pcre, http-parser }:
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitLab, buildGoModule, ruby }:
{ lib, fetchFromGitLab, buildGoModule, ruby }:
buildGoModule rec {
pname = "gitlab-shell";
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitLab, git, buildGoModule }:
{ lib, fetchFromGitLab, git, buildGoModule }:
buildGoModule rec {
pname = "gitlab-workhorse";
@@ -1,4 +1,4 @@
{ fetchFromGitHub, python, lib, stdenv }:
{ fetchFromGitHub, python, lib }:
with python.pkgs;
buildPythonApplication rec {
@@ -1,4 +1,4 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub, makeWrapper
{ lib, buildGoModule, fetchFromGitHub, makeWrapper
, git, bash, gzip, openssh, pam
, sqliteSupport ? true
, pamSupport ? true
@@ -1,4 +1,4 @@
{ lib, stdenv
{ lib
, fetchurl
, gettext
, itstool
@@ -1,6 +1,6 @@
{ fetchFromGitHub
, buildPythonPackage
, lib, stdenv
, lib
, isPy27
}:
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, python3Packages }:
{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "peru";
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchgit, buildPythonPackage
{ lib, fetchgit, buildPythonPackage
, python
, buildGoModule
, srht, redis, celery, pyyaml, markdown }:
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchgit, fetchNodeModules, buildPythonPackage
{ lib, fetchgit, fetchNodeModules, buildPythonPackage
, pgpy, flask, bleach, humanize, html5lib, markdown, psycopg2, pygments
, requests, sqlalchemy, cryptography, beautifulsoup4, sqlalchemy-utils, prometheus_client
, celery, alembic, importlib-metadata, mistletoe
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchgit, buildPythonPackage
{ lib, fetchgit, buildPythonPackage
, python
, srht, pyyaml, PyGithub }:
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchgit, buildPythonPackage
{ lib, fetchgit, buildPythonPackage
, python
, buildGoModule
, srht, minio, pygit2, scmsrht }:
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchhg, buildPythonPackage
{ lib, fetchhg, buildPythonPackage
, python
, srht, hglib, scmsrht, unidiff }:
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchgit, buildPythonPackage
{ lib, fetchgit, buildPythonPackage
, python
, srht }:
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchgit, buildPythonPackage
{ lib, fetchgit, buildPythonPackage
, python
, srht, asyncpg, aiosmtpd, pygit2, emailthreads }:
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchgit, buildPythonPackage
{ lib, fetchgit, buildPythonPackage
, python
, srht, pygit2 }:
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchgit, buildPythonPackage
{ lib, fetchgit, buildPythonPackage
, python
, buildGoModule
, pgpy, srht, redis, bcrypt, qrcode, stripe, zxcvbn, alembic, pystache
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchgit, buildPythonPackage
{ lib, fetchgit, buildPythonPackage
, python
, srht, pyyaml }:
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchgit, buildPythonPackage
{ lib, fetchgit, buildPythonPackage
, srht, redis, pyyaml, buildsrht
, writeText }:
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchgit, buildPythonPackage
{ lib, fetchgit, buildPythonPackage
, python
, srht, redis, alembic, pystache
, pytest, factory_boy, writeText }: