Merge staging into closure-size
The most complex problems were from dealing with switches reverted in the meantime (gcc5, gmp6, ncurses6). It's likely that darwin is (still) broken nontrivially.
This commit is contained in:
@@ -71,6 +71,8 @@ rec {
|
||||
|
||||
tig = callPackage ./tig { };
|
||||
|
||||
transcrypt = callPackage ./transcrypt { };
|
||||
|
||||
hub = import ./hub {
|
||||
inherit go;
|
||||
inherit stdenv fetchgit;
|
||||
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
make install PREFIX=$out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://www.agwa.name/projects/git-crypt";
|
||||
description = "transparent file encryption in git";
|
||||
longDescription = ''
|
||||
@@ -33,9 +33,9 @@ stdenv.mkDerivation rec {
|
||||
entire repository.
|
||||
'';
|
||||
downloadPage = "https://github.com/AGWA/git-crypt/releases";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
license = licenses.gpl3;
|
||||
version = "0.5.0";
|
||||
maintainers = [ "Desmond O. Chang <dochang@gmail.com>" ];
|
||||
maintainers = [ maintainers.dochang ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "2.5.3";
|
||||
version = "2.6.3";
|
||||
svn = subversionClient.override { perlBindings = true; };
|
||||
in
|
||||
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
|
||||
sha256 = "06is8pq8gsia3dav8mgl2zlvms2ny4hs1x0w2792ya51azc2jk8j";
|
||||
sha256 = "18vxb5fmwmrps504m23a4xdl29m7ibca3hmz0mn9jc38sz9y95yn";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, ncurses, asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45
|
||||
, readline, makeWrapper, git
|
||||
, readline, makeWrapper, git, libiconv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0bw5wivswwh7vx897q8xc2cqgkqhdzk8gh6fnav2kf34sngigiah";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses asciidoc xmlto docbook_xsl readline git makeWrapper ];
|
||||
buildInputs = [ ncurses asciidoc xmlto docbook_xsl readline git makeWrapper ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
preConfigure = ''
|
||||
export XML_CATALOG_FILES='${docbook_xsl}/xml/xsl/docbook/catalog.xml ${docbook_xml_dtd_45}/xml/dtd/docbook/catalog.xml'
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user