direnv: 2.8.0 -> 2.9.0
This commit is contained in:
parent
95be4a4979
commit
8346e72a22
|
@ -1,21 +1,27 @@
|
||||||
{ fetchurl, stdenv, go }:
|
{ stdenv, fetchFromGitHub, go, bash }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "direnv-${version}";
|
name = "direnv-${version}";
|
||||||
version = "2.8.0";
|
version = "2.9.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://github.com/zimbatm/direnv/archive/v${version}.tar.gz";
|
owner = "direnv";
|
||||||
name = "direnv-${version}.tar.gz";
|
repo = "direnv";
|
||||||
sha256 = "1l1kvjgpak7cc9s37qipfw6lybb4650zwd8kcdagm409gs89mil6";
|
rev = "v${version}";
|
||||||
|
sha256 = "1zi4i2ds8xkbhfcpi52hca4lcwan9gf93bdmd2vwdsry16kn3f6k";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ go ];
|
buildInputs = [ go ];
|
||||||
|
|
||||||
buildPhase = "make";
|
buildPhase = ''
|
||||||
installPhase = "make install DESTDIR=$out";
|
make BASH_PATH=${bash}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
installPhase = ''
|
||||||
|
make install DESTDIR=$out
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
description = "A shell extension that manages your environment";
|
description = "A shell extension that manages your environment";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Once hooked into your shell direnv is looking for an .envrc file in your
|
Once hooked into your shell direnv is looking for an .envrc file in your
|
||||||
|
@ -29,8 +35,8 @@ stdenv.mkDerivation rec {
|
||||||
environment variables.
|
environment variables.
|
||||||
'';
|
'';
|
||||||
homepage = http://direnv.net;
|
homepage = http://direnv.net;
|
||||||
license = stdenv.lib.licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ stdenv.lib.maintainers.zimbatm ];
|
maintainers = with maintainers; [ zimbatm ];
|
||||||
platforms = go.meta.platforms;
|
inherit (go.meta) platforms;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue