Merge branch 'master' into staging-next
This commit is contained in:
@@ -30,9 +30,7 @@ let
|
||||
|
||||
diff-so-fancy = callPackage ./diff-so-fancy { };
|
||||
|
||||
gh = callPackage ./gh {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
gh = callPackage ./gh { };
|
||||
|
||||
ghq = callPackage ./ghq { };
|
||||
|
||||
@@ -181,6 +179,8 @@ let
|
||||
|
||||
lefthook = callPackage ./lefthook { };
|
||||
|
||||
legit = callPackage ./legit { };
|
||||
|
||||
pass-git-helper = python3Packages.callPackage ./pass-git-helper { };
|
||||
|
||||
pre-commit = pkgs.python3Packages.toPythonApplication pkgs.python3Packages.pre-commit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, buildGoModule, installShellFiles, Security }:
|
||||
{ lib, fetchFromGitHub, buildGoModule, installShellFiles }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gh";
|
||||
@@ -20,7 +20,6 @@ buildGoModule rec {
|
||||
subPackages = [ "cmd/gh" ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
postInstall = ''
|
||||
for shell in bash fish zsh; do
|
||||
$out/bin/gh completion -s $shell > gh.$shell
|
||||
@@ -28,7 +27,7 @@ buildGoModule rec {
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "GitHub CLI tool";
|
||||
homepage = "https://cli.github.com/";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
version = "0.9.9";
|
||||
version = "0.10.5";
|
||||
pname = "gita";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1si2f9nyisbrvv8cvrjxj8r4cbrgc97ic0wdlbf34gvp020dsmgv";
|
||||
sha256 = "1xggslmrrfszpl190klkc97fnl88gml1bnkmkzp6aimdch66g4jg";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -21,7 +21,7 @@ buildPythonApplication rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "A command-line tool to manage multiple git repos";
|
||||
homepage = https://github.com/nosarthur/gita;
|
||||
homepage = "https://github.com/nosarthur/gita";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ seqizz ];
|
||||
};
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
{ lib, python3Packages }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "legit";
|
||||
version = "1.2.0";
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ngh3ar6v15516f52j21k6qz7hykmxfjadhb2rakvl27b5xvjy1c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
click
|
||||
clint
|
||||
crayons
|
||||
GitPython
|
||||
six
|
||||
];
|
||||
|
||||
# Prevent tests from trying to create configuration in /homeless-shelter.
|
||||
preCheck = ''
|
||||
export HOME=$PWD/test-home
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/frostming/legit";
|
||||
description = "Git for Humans, Inspired by GitHub for Mac";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ryneeverett ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user