fet-sh: 1.8 -> 1.9
This commit is contained in:
parent
fa488cd9bf
commit
b773fd7e2a
@ -2,26 +2,28 @@
|
|||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "fet-sh";
|
pname = "fet-sh";
|
||||||
version = "1.8";
|
version = "1.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "6gk";
|
owner = "6gk";
|
||||||
repo = "fet.sh";
|
repo = "fet.sh";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1czjsyagwzbf8l023l1saz9ssb1hc245a64nfwc8wl0cn4h9byky";
|
sha256 = "sha256-xhX2nVteC3T3IjQh++mYlm0btDJQbyQa6b8sGualV0E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
postPatch = ''
|
||||||
|
patchShebangs fet.sh
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -m755 -D ./fet.sh $out/bin/fet.sh
|
install -m755 -D fet.sh $out/bin/fet.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A fetch written in posix shell without any external commands (linux only)";
|
description = "A fetch written in posix shell without any external commands";
|
||||||
homepage = "https://github.com/6gk/fet.sh";
|
homepage = "https://github.com/6gk/fet.sh";
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.all;
|
||||||
maintainers = with maintainers; [ elkowar ];
|
maintainers = with maintainers; [ elkowar ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user