mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 22:06:00 +03:00
git-secret: init at 0.2.2 (#31486)
* Add lo1tuma to maintainers * git-secret: init at 0.2.2 * gitAndTools.git-secret: man page in correct directory
This commit is contained in:
parent
38720305e9
commit
b627615602
@ -358,6 +358,7 @@
|
||||
linus = "Linus Arver <linusarver@gmail.com>";
|
||||
lluchs = "Lukas Werling <lukas.werling@gmail.com>";
|
||||
lnl7 = "Daiderd Jordan <daiderd@gmail.com>";
|
||||
lo1tuma = "Mathias Schreck <schreck.mathias@gmail.com>";
|
||||
loskutov = "Ignat Loskutov <ignat.loskutov@gmail.com>";
|
||||
lovek323 = "Jason O'Conal <jason@oconal.id.au>";
|
||||
lowfatcomputing = "Andreas Wagner <andreas.wagner@lowfatcomputing.org>";
|
||||
|
@ -84,6 +84,8 @@ rec {
|
||||
|
||||
git-remote-hg = callPackage ./git-remote-hg { };
|
||||
|
||||
git-secret = callPackage ./git-secret { };
|
||||
|
||||
git-stree = callPackage ./git-stree { };
|
||||
|
||||
git2cl = callPackage ./git2cl { };
|
||||
|
@ -0,0 +1,36 @@
|
||||
{ stdenv, lib, fetchFromGitHub, makeWrapper, git, gnupg }:
|
||||
|
||||
let
|
||||
version = "0.2.2";
|
||||
repo = "git-secret";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "${repo}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit repo;
|
||||
owner = "sobolevn";
|
||||
rev = "v${version}";
|
||||
sha256 = "0vn9jibp97z7kc828wka1k0d7a9wx4skd6cnqy60kagfc00l0bzh";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
install -D git-secret $out/bin/git-secret
|
||||
|
||||
wrapProgram $out/bin/git-secret \
|
||||
--prefix PATH : "${lib.makeBinPath [ git gnupg ]}"
|
||||
|
||||
mkdir $out/share
|
||||
cp -r man $out/share
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A bash-tool to store your private data inside a git repository";
|
||||
homepage = http://git-secret.io;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.lo1tuma ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -14849,7 +14849,7 @@ with pkgs;
|
||||
|
||||
gitAndTools = recurseIntoAttrs (callPackage ../applications/version-management/git-and-tools {});
|
||||
|
||||
inherit (gitAndTools) git gitFull gitSVN git-cola svn2git git-radar transcrypt git-crypt;
|
||||
inherit (gitAndTools) git gitFull gitSVN git-cola svn2git git-radar git-secret transcrypt git-crypt;
|
||||
|
||||
gitMinimal = git.override {
|
||||
withManual = false;
|
||||
|
Loading…
Reference in New Issue
Block a user