Merge pull request #18370 from elasticdog/transcrypt
transcrypt: 0.9.7 -> 0.9.9
This commit is contained in:
commit
6340b32e49
@ -1,20 +1,26 @@
|
|||||||
{ stdenv, fetchurl, git, openssl }:
|
{ stdenv, fetchFromGitHub, git, makeWrapper, openssl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "transcrypt-0.9.7";
|
name = "transcrypt-${version}";
|
||||||
|
version = "0.9.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = https://github.com/elasticdog/transcrypt/archive/v0.9.7.tar.gz;
|
owner = "elasticdog";
|
||||||
sha256 = "0pgrf74wdc7whvwz7lkkq6qfk38n37dc5668baq7czgckibvjqdh";
|
repo = "transcrypt";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0brsgj3qmvkgxzqqamk8krwyarwff1dlb3jjd09snnbfl0kdq1a5";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ git openssl ];
|
buildInputs = [ git makeWrapper openssl ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -m 755 -D transcrypt $out/bin/transcrypt
|
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 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/bash/transcrypt $out/share/bash-completion/completions/transcrypt
|
||||||
install -m 644 -D contrib/zsh/_transcrypt $out/share/zsh/site-functions/_transcrypt
|
install -m 644 -D contrib/zsh/_transcrypt $out/share/zsh/site-functions/_transcrypt
|
||||||
|
|
||||||
|
wrapProgram $out/bin/transcrypt \
|
||||||
|
--prefix PATH : "${stdenv.lib.makeBinPath [ git openssl ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user