mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
chruby-fish: 0.8.2 -> 1.0.0
Diff: https://github.com/JeanMertz/chruby-fish/compare/v0.8.2...v1.0.0
This commit is contained in:
parent
dba7688e8e
commit
850188005a
1 changed files with 6 additions and 12 deletions
|
@ -1,26 +1,20 @@
|
|||
{
|
||||
stdenv,
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
chruby,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "chruby-fish";
|
||||
version = "0.8.2";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "JeanMertz";
|
||||
repo = "chruby-fish";
|
||||
rev = "v${version}";
|
||||
sha256 = "15q0ywsn9pcypbpvlq0wb41x4igxm9bsvhg9a05dqw1n437qjhyb";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Lk6XvmKgEjXVjO3jMjJkCxoX7TGMxq3ib0Ohh/J4IPI=";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
sed -i -e '1iset CHRUBY_ROOT ${chruby}' $out/share/chruby/auto.fish
|
||||
sed -i -e '1iset CHRUBY_ROOT ${chruby}' $out/share/chruby/chruby.fish
|
||||
'';
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = {
|
||||
|
@ -30,4 +24,4 @@ stdenv.mkDerivation rec {
|
|||
platforms = lib.platforms.all;
|
||||
maintainers = [ lib.maintainers.cohei ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue