mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
Merge pull request #10614 from elasticdog/transcrypt
transcrypt: init at 0.9.7
This commit is contained in:
commit
1c9a2def0d
@ -90,6 +90,7 @@
|
||||
edwtjo = "Edward Tjörnhammar <ed@cflags.cc>";
|
||||
eelco = "Eelco Dolstra <eelco.dolstra@logicblox.com>";
|
||||
eikek = "Eike Kettner <eike.kettner@posteo.de>";
|
||||
elasticdog = "Aaron Bull Schaefer <aaron@elasticdog.com>";
|
||||
ellis = "Ellis Whitehead <nixos@ellisw.net>";
|
||||
emery = "Emery Hemingway <emery@vfemail.net>";
|
||||
enolan = "Echo Nolan <echo@echonolan.net>";
|
||||
|
@ -71,6 +71,8 @@ rec {
|
||||
|
||||
tig = callPackage ./tig { };
|
||||
|
||||
transcrypt = callPackage ./transcrypt { };
|
||||
|
||||
hub = import ./hub {
|
||||
inherit go;
|
||||
inherit stdenv fetchgit;
|
||||
|
@ -0,0 +1,35 @@
|
||||
{ stdenv, fetchurl, git, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "transcrypt-0.9.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = https://github.com/elasticdog/transcrypt/archive/v0.9.7.tar.gz;
|
||||
sha256 = "0pgrf74wdc7whvwz7lkkq6qfk38n37dc5668baq7czgckibvjqdh";
|
||||
};
|
||||
|
||||
buildInputs = [ git openssl ];
|
||||
|
||||
installPhase = ''
|
||||
install -m 755 -D transcrypt $out/bin/transcrypt
|
||||
install -m 644 -D man/transcrypt.1 $out/share/man/man1/transcrypt.1
|
||||
install -m 644 -D contrib/bash/transcrypt $out/share/bash-completion/completions/transcrypt
|
||||
install -m 644 -D contrib/zsh/_transcrypt $out/share/zsh/site-functions/_transcrypt
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Transparently encrypt files within a Git repository";
|
||||
longDescription = ''
|
||||
A script to configure transparent encryption of sensitive files stored in
|
||||
a Git repository. Files that you choose will be automatically encrypted
|
||||
when you commit them, and automatically decrypted when you check them
|
||||
out. The process will degrade gracefully, so even people without your
|
||||
encryption password can safely commit changes to the repository's
|
||||
non-encrypted files.
|
||||
'';
|
||||
homepage = https://github.com/elasticdog/transcrypt;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.elasticdog ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -11664,7 +11664,7 @@ let
|
||||
|
||||
gitAndTools = recurseIntoAttrs (callPackage ../applications/version-management/git-and-tools {});
|
||||
|
||||
inherit (gitAndTools) git gitFull gitSVN git-cola svn2git git-radar;
|
||||
inherit (gitAndTools) git gitFull gitSVN git-cola svn2git git-radar transcrypt;
|
||||
|
||||
gitMinimal = git.override {
|
||||
withManual = false;
|
||||
|
Loading…
Reference in New Issue
Block a user