treewide: with stdenv.lib; in meta -> with lib;

Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
This commit is contained in:
Profpatsch
2021-01-11 10:38:22 +01:00
parent e87aef06e0
commit 4a7f99d55d
6869 changed files with 13585 additions and 13580 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, jre, makeWrapper }:
{ lib, stdenv, fetchurl, jre, makeWrapper }:
let
version = "1.13.0";
@@ -26,7 +26,7 @@ in
makeWrapper "${jre}/bin/java" $out/bin/bfg --add-flags "-cp $out/share/java/$jarName com.madgag.git.bfg.cli.Main"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://rtyley.github.io/bfg-repo-cleaner/";
# Descriptions taken with minor modification from the homepage of bfg-repo-cleaner
description = "Removes large or troublesome blobs in a git repository like git-filter-branch does, but faster";
@@ -18,7 +18,7 @@ buildPythonApplication rec {
pytest tests/ -k 'not usage_string_fork'
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Version-bump your software with a single command";
longDescription = ''
A small command line tool to simplify releasing software by updating
@@ -1,4 +1,4 @@
{stdenv, git, perl, ncurses, coreutils, fetchFromGitHub, makeWrapper, ...}:
{lib, stdenv, git, perl, ncurses, coreutils, fetchFromGitHub, makeWrapper, ...}:
stdenv.mkDerivation rec {
pname = "diff-so-fancy";
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/so-fancy/diff-so-fancy";
description = "Good-looking diffs filter for git";
license = licenses.mit;
@@ -1,4 +1,4 @@
{stdenv, fetchFromGitHub, git, mercurial, makeWrapper}:
{lib, stdenv, fetchFromGitHub, git, mercurial, makeWrapper}:
stdenv.mkDerivation rec {
pname = "fast-export";
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
popd
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Import mercurial into git";
homepage = "https://repo.or.cz/w/fast-export.git";
license = licenses.gpl2;
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ghorg";
@@ -18,7 +18,7 @@ buildGoModule rec {
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Quickly clone an entire org/users repositories into one directory";
longDescription = ''
ghorg allows you to quickly clone all of an orgs, or users repos into a
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, installShellFiles, libiconv, Security }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, libiconv, Security }:
rustPlatform.buildRustPackage rec {
pname = "git-absorb";
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec {
done
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/tummychow/git-absorb";
description = "git commit --fixup, but automatic";
license = [ licenses.bsd3 ];
@@ -1,4 +1,4 @@
{ stdenv, buildPythonApplication, fetchFromGitHub, pyqt5, qt5, git-annex-adapter }:
{ lib, stdenv, buildPythonApplication, fetchFromGitHub, pyqt5, qt5, git-annex-adapter }:
buildPythonApplication rec {
pname = "git-annex-metadata-gui";
@@ -23,7 +23,7 @@ buildPythonApplication rec {
propagatedBuildInputs = [ pyqt5 git-annex-adapter ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/alpernebbi/git-annex-metadata-gui";
description = "Graphical interface for git-annex metadata commands";
maintainers = with maintainers; [ dotlambda ];
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rclone, makeWrapper }:
{ lib, stdenv, fetchFromGitHub, rclone, makeWrapper }:
stdenv.mkDerivation rec {
pname = "git-annex-remote-rclone";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
--prefix PATH ":" "${stdenv.lib.makeBinPath [ rclone ]}"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/DanielDent/git-annex-remote-rclone";
description = "Use rclone supported cloud storage providers with git-annex";
license = licenses.gpl3;
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "git-bug";
@@ -29,7 +29,7 @@ buildGoModule rec {
install -D -m 0644 -t "$out/share/man/man1" doc/man/*
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Distributed bug tracker embedded in Git";
homepage = "https://github.com/MichaelMure/git-bug";
license = licenses.gpl3;
@@ -1,4 +1,4 @@
{ stdenv, fetchgit
{ lib, stdenv, fetchgit
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, makeWrapper, xmlto
, pythonPackages }:
@@ -31,7 +31,7 @@ stdenv.mkDerivation {
--prefix PYTHONPATH : "$(toPythonPath "${pythonPackages.pysqlite}")"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Bugzilla integration for git";
longDescription = ''
git-bz is a tool for integrating the Git command line with the
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python3Packages, gettext, git, qt5 }:
{ lib, stdenv, fetchFromGitHub, python3Packages, gettext, git, qt5 }:
let
inherit (python3Packages) buildPythonApplication pyqt5 sip pyinotify;
@@ -26,7 +26,7 @@ in buildPythonApplication rec {
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/git-cola/git-cola";
description = "A sleek and powerful Git GUI";
license = licenses.gpl2;
@@ -1,4 +1,4 @@
{ fetchFromGitHub, git, gnupg, makeWrapper, openssl, stdenv
{ fetchFromGitHub, git, gnupg, makeWrapper, openssl, lib, stdenv
, libxslt, docbook_xsl
}:
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/git-crypt --prefix PATH : $out/bin:${git}/bin:${gnupg}/bin
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.agwa.name/projects/git-crypt";
description = "Transparent file encryption in git";
longDescription = ''
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, openssl_1_0_2
, zlib
@@ -45,7 +45,7 @@ buildRustPackage rec {
Security
];
meta = with stdenv.lib; {
meta = with lib; {
inherit (src.meta) homepage;
description = "Decentralized Issue Tracking for git";
# This has not had a release in years and its cargo vendored dependencies
@@ -1,4 +1,4 @@
{ stdenv, fetchzip, unixtools, which }:
{ lib, stdenv, fetchzip, unixtools, which }:
stdenv.mkDerivation rec {
pname = "git-extras";
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
install -D etc/git-extras-completion.zsh $out/share/zsh/site-functions/_git_extras
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/tj/git-extras";
description = "GIT utilities -- repo summary, repl, changelog population, author commit percentages and more";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, bundlerEnv, ruby, bundlerUpdateScript }:
{ lib, stdenv, bundlerEnv, ruby, bundlerUpdateScript }:
bundlerEnv {
inherit ruby;
@@ -9,7 +9,7 @@ bundlerEnv {
passthru.updateScript = bundlerUpdateScript "gitAndTools.git-fame";
meta = with stdenv.lib; {
meta = with lib; {
description = ''
A command-line tool that helps you summarize and pretty-print collaborators based on contributions
'';
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pythonPackages }:
{ lib, stdenv, fetchurl, pythonPackages }:
stdenv.mkDerivation rec {
pname = "git-filter-repo";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
install -Dm644 -t $out/share/man/man1 Documentation/man1/git-filter-repo.1
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/newren/git-filter-repo";
description = "Quickly rewrite git repository history (filter-branch replacement)";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, makeWrapper, openssl, git, libiconv, Security, installShellFiles }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, pkgconfig, makeWrapper, openssl, git, libiconv, Security, installShellFiles }:
rustPlatform.buildRustPackage rec {
pname = "git-gone";
@@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec {
wrapProgram $out/bin/git-gone --prefix PATH : "${stdenv.lib.makeBinPath [ git ]}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Cleanup stale Git branches of pull requests";
homepage = "https://github.com/lunaryorn/git-gone";
license = licenses.asl20;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, gitMinimal, python2Packages }:
{ lib, stdenv, fetchFromGitHub, gitMinimal, python2Packages }:
stdenv.mkDerivation rec {
pname = "git-hub";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
rm -r $out/share/{doc,vim}
'';
meta = with stdenv.lib; {
meta = with lib; {
inherit (src.meta) homepage;
description = "Git command line interface to GitHub";
longDescription = ''
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, installShellFiles, rustPlatform, pkgconfig, openssl, darwin }:
{ lib, stdenv, fetchFromGitHub, installShellFiles, rustPlatform, pkgconfig, openssl, darwin }:
with rustPlatform;
@@ -26,7 +26,7 @@ buildRustPackage rec {
installManPage $releaseDir/build/git-ignore-*/out/git-ignore.1
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Quickly and easily fetch .gitignore templates from gitignore.io";
homepage = "https://github.com/sondr3/git-ignore";
license = licenses.gpl3Plus;
@@ -1,4 +1,4 @@
{ stdenv, ncurses5, fetchFromGitHub, rustPlatform, libiconv, Security }:
{ lib, stdenv, ncurses5, fetchFromGitHub, rustPlatform, libiconv, Security }:
rustPlatform.buildRustPackage rec {
pname = "git-interactive-rebase-tool";
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
cargoParallelTestThreads = false;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/MitMaro/git-interactive-rebase-tool";
description = "Native cross platform full feature terminal based sequence editor for git interactive rebase";
changelog = "https://github.com/MitMaro/git-interactive-rebase-tool/releases/tag/${version}";
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "git-my";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
install -Dm755 -t "$out"/bin ./git-my
'';
meta = with stdenv.lib; {
meta = with lib; {
description =
"List remote branches if they're merged and/or available locally";
homepage = "https://github.com/davidosomething/git-my";
@@ -1,4 +1,4 @@
{stdenv, git, xdg_utils, gnugrep, fetchFromGitHub, makeWrapper}:
{lib, stdenv, git, xdg_utils, gnugrep, fetchFromGitHub, makeWrapper}:
stdenv.mkDerivation rec {
pname = "git-open";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
--prefix PATH : "${stdenv.lib.makeBinPath [ git xdg_utils gnugrep ]}"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/paulirish/git-open";
description = "Open the GitHub page or website for a repository in your browser";
license = licenses.mit;
@@ -1,4 +1,4 @@
{stdenv, fetchFromGitHub}:
{lib, stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec {
pname = "git-radar";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
ln -s $out/git-radar $out/bin
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/michaeldfallen/git-radar";
license = licenses.mit;
description = "A tool you can add to your prompt to provide at-a-glance information on your git repo";
@@ -1,4 +1,4 @@
{stdenv, git, less, fetchFromGitHub, makeWrapper
{lib, stdenv, git, less, fetchFromGitHub, makeWrapper
# util-linuxMinimal is included because we need the column command
, util-linux
}:
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
--prefix PATH : "${stdenv.lib.makeBinPath [ git less util-linux ]}"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/paulirish/git-recent";
description = "See your latest local git branches, formatted real fancy";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, docutils, makeWrapper
{ lib, stdenv, fetchFromGitHub, docutils, makeWrapper
, gnupg, curl, rsync, coreutils
, gawk, gnused, gnugrep
}:
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
gawk gnused gnugrep ]}"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://spwhitton.name/tech/code/git-remote-gcrypt";
description = "A git remote helper for GPG-encrypted remotes";
license = licenses.gpl3;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, makeWrapper, git, gnused }:
{ lib, stdenv, fetchFromGitHub, makeWrapper, git, gnused }:
stdenv.mkDerivation rec {
pname = "git-reparent";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/git-reparent --prefix PATH : "${stdenv.lib.makeBinPath [ git gnused ]}"
'';
meta = with stdenv.lib; {
meta = with lib; {
inherit (src.meta) homepage;
description = "Git command to recommit HEAD with a new set of parents";
maintainers = [ maintainers.marsam ];
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, makeWrapper, git, coreutils }:
{ lib, stdenv, fetchFromGitHub, makeWrapper, git, coreutils }:
stdenv.mkDerivation rec {
pname = "git-secrets";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
--prefix PATH : "${stdenv.lib.makeBinPath [ git coreutils ]}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Prevents you from committing secrets and credentials into git repositories";
homepage = "https://github.com/awslabs/git-secrets";
license = licenses.asl20;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, makeWrapper, git }:
{ lib, stdenv, fetchFromGitHub, makeWrapper, git }:
stdenv.mkDerivation rec {
pname = "git-standup";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
--prefix PATH : "${stdenv.lib.makeBinPath [ git ]}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Recall what you did on the last working day";
homepage = "https://github.com/kamranahmedse/git-standup";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, git, makeWrapper, which }:
{ lib, stdenv, fetchFromGitHub, git, makeWrapper, which }:
stdenv.mkDerivation rec {
pname = "git-subrepo";
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
--prefix PATH : "${git}/bin"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/ingydotnet/git-subrepo";
description = "Git submodule alternative";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, curl, libiconv, Security }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, curl, libiconv, Security }:
rustPlatform.buildRustPackage rec {
pname = "git-subset";
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ curl libiconv Security ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Super fast Git tree filtering";
homepage = "https://github.com/jasonwhite/git-subset";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, makeWrapper, git }:
{ lib, stdenv, fetchFromGitHub, makeWrapper, git }:
stdenv.mkDerivation rec {
pname = "git-test";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
--prefix PATH : "${stdenv.lib.makeBinPath [ git ]}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Test your commits";
homepage = "https://github.com/spotify/git-test";
license = licenses.asl20;
@@ -1,4 +1,4 @@
{ stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, libiconv, Security }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, libiconv, Security }:
rustPlatform.buildRustPackage rec {
pname = "git-trim";
@@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
# fails with sandbox
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
description = "Automatically trims your branches whose tracking remote refs are merged or gone";
homepage = "https://github.com/foriequal0/git-trim";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
{ lib, stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "git-vanity-hash";
@@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
cp README.md $out/share/doc/git-vanity-hash
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/prasmussen/git-vanity-hash";
description = "Tool for creating commit hashes with a specific prefix";
license = [ licenses.mit ];
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python3 }:
{ lib, stdenv, fetchFromGitHub, python3 }:
stdenv.mkDerivation rec {
pname = "git-when-merged";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
install -D --target-directory $out/bin/ bin/git-when-merged
'';
meta = with stdenv.lib; {
meta = with lib; {
description =
"Helps you figure out when and why a commit was merged into a branch";
longDescription = ''
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, rustPlatform
, Security
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
meta = with stdenv.lib; {
meta = with lib; {
description = "Sync personal and work git repositories from multiple providers";
homepage = "https://github.com/orf/git-workspace";
license = with licenses; [ mit ];
@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "gitbatch-unstable";
@@ -15,7 +15,7 @@ buildGoPackage rec {
sha256 = "0613vfqdn3k0w7fm25rqnqdr67w9vii3i56dfslqcn1vqjfrff3q";
};
meta = with stdenv.lib; {
meta = with lib; {
description = "Running git UI commands";
homepage = "https://github.com/isacikgoz/gitbatch";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ pkgs, stdenv, fetchFromGitHub }:
{ pkgs, lib, stdenv, fetchFromGitHub }:
with pkgs.lib;
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
--suffix PATH : ${pkgs.git}/bin
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/petervanderdoes/gitflow";
description = "Extend git with the Gitflow branching model";
longDescription = ''
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, buildGoPackage
, fetchFromGitHub
, pkgconfig
@@ -23,7 +23,7 @@ buildGoPackage rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libgit2_0_27 ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/isacikgoz/gitin";
description = "Text-based user interface for git";
license = licenses.bsd3;
@@ -1,4 +1,4 @@
{ callPackage, stdenv, fetchFromGitHub, git, zsh, ...}:
{ callPackage, lib, stdenv, fetchFromGitHub, git, zsh, ...}:
stdenv.mkDerivation rec {
pname = "gitstatus";
@@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
wait $!
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "10x faster implementation of `git status` command";
homepage = "https://github.com/romkatv/gitstatus";
license = licenses.gpl3Only;
@@ -1,4 +1,4 @@
{ stdenv, rustPlatform, fetchFromGitHub, libiconv, perl, python3, Security, AppKit, openssl, xclip }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, perl, python3, Security, AppKit, openssl, xclip }:
rustPlatform.buildRustPackage rec {
pname = "gitui";
version = "0.11.0";
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
++ stdenv.lib.optional stdenv.isLinux xclip
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security AppKit ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Blazing fast terminal-ui for git written in rust";
homepage = "https://github.com/extrawurst/gitui";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub, curl, ncurses, pkgconfig, readline
{ lib, stdenv, buildGoPackage, fetchFromGitHub, curl, ncurses, pkgconfig, readline
, cmake }:
let
version = "0.3.2";
@@ -40,7 +40,7 @@ buildGoPackage {
runHook postInstall
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "GRV is a terminal interface for viewing Git repositories";
homepage = "https://github.com/rgburke/grv";
license = licenses.gpl3;
@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub, git, groff, installShellFiles, util-linux, nixosTests }:
{ lib, stdenv, buildGoPackage, fetchFromGitHub, git, groff, installShellFiles, util-linux, nixosTests }:
buildGoPackage rec {
pname = "hub";
@@ -37,7 +37,7 @@ buildGoPackage rec {
passthru.tests = { inherit (nixosTests) hub; };
meta = with stdenv.lib; {
meta = with lib; {
description = "Command-line wrapper for git that makes you better at GitHub";
license = licenses.mit;
homepage = "https://hub.github.com/";
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
# Currently `buildGo114Module` is passed as `buildGoModule` from
# `../default.nix`. Please remove the fixed 1.14 once a new release has been
@@ -21,7 +21,7 @@ buildGoModule rec {
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
description = "Fast and powerful Git hooks manager for any type of projects";
homepage = "https://github.com/Arkweid/lefthook";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, buildPythonApplication, fetchFromGitHub, pyxdg, pytest }:
{ lib, stdenv, buildPythonApplication, fetchFromGitHub, pyxdg, pytest }:
buildPythonApplication rec {
pname = "pass-git-helper";
@@ -17,7 +17,7 @@ buildPythonApplication rec {
export HOME=$(mktemp -d)
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/languitar/pass-git-helper";
description = "A git credential helper interfacing with pass, the standard unix password manager";
license = licenses.gpl3Plus;
@@ -1,4 +1,4 @@
{ stdenv, appimageTools, gsettings-desktop-schemas, gtk3, autoPatchelfHook, zlib, fetchurl }:
{ lib, stdenv, appimageTools, gsettings-desktop-schemas, gtk3, autoPatchelfHook, zlib, fetchurl }:
let
pname = "radicle-upstream";
@@ -54,7 +54,7 @@ appimageTools.wrapType2 {
$out/share/icons/hicolor/512x512/apps/${pname}.png
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A decentralized app for code collaboration";
homepage = "https://radicle.xyz/";
license = licenses.gpl3Plus;
@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "scmpuff";
@@ -14,7 +14,7 @@ buildGoPackage rec {
sha256 = "0zrzzcs0i13pfwcqh8qb0sji54vh37rdr7qasg57y56cqpx16vl3";
};
meta = with stdenv.lib; {
meta = with lib; {
description = "Add numbered shortcuts to common git commands";
homepage = "https://github.com/mroth/scmpuff";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, python3Packages, fetchFromGitHub, git, installShellFiles }:
{ lib, stdenv, python3Packages, fetchFromGitHub, git, installShellFiles }:
python3Packages.buildPythonApplication rec {
pname = "stgit";
@@ -21,7 +21,7 @@ python3Packages.buildPythonApplication rec {
installShellCompletion --name _stg $out/share/stgit/completion/stgit.zsh
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A patch manager implemented on top of Git";
homepage = "http://procode.org/stgit/";
license = licenses.gpl2;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, qmake, qtbase, qttools, subversion, apr }:
{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qttools, subversion, apr }:
let
version = "1.0.18";
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
NIX_LDFLAGS = "-lsvn_fs-1";
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/svn-all-fast-export/svn2git";
description = "A fast-import based converter for an svn repo to git repos";
license = licenses.gpl3;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, ncurses, asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45
{ lib, stdenv, fetchFromGitHub, ncurses, asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45
, readline, makeWrapper, git, libiconv, autoreconfHook, findXMLCatalogs, pkgconfig
}:
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
--prefix PATH ':' "${git}/bin"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://jonas.github.io/tig/";
description = "Text-mode interface for git";
maintainers = with maintainers; [ bjornfor domenkozar qknight globin ];
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, git, perl }:
{ lib, stdenv, fetchFromGitHub, git, perl }:
stdenv.mkDerivation rec {
pname = "topgit";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
install -Dm755 contrib/tg-completion.bash -t "$out/share/bash-completion/completions/"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "TopGit manages large amount of interdependent topic branches";
homepage = "https://github.com/mackyle/topgit";
license = licenses.gpl2;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, git, makeWrapper, openssl, coreutils, util-linux, gnugrep, gnused, gawk }:
{ lib, stdenv, fetchFromGitHub, git, makeWrapper, openssl, coreutils, util-linux, gnugrep, gnused, gawk }:
stdenv.mkDerivation rec {
pname = "transcrypt";
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
chmod +x $out/bin/transcrypt-depspathprefix
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Transparently encrypt files within a Git repository";
longDescription = ''
A script to configure transparent encryption of sensitive files stored in