taoup: 1.1.14 -> 1.1.16
* taoup: 1.1.14 -> 1.1.15 (#159794) * taoup: 1.1.15 -> 1.1.16 Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
parent
13df7994ee
commit
1624b98993
|
@ -4,13 +4,13 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "taoup";
|
pname = "taoup";
|
||||||
version = "1.1.14";
|
version = "1.1.16";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "globalcitizen";
|
owner = "globalcitizen";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1gs6f66fg1l504riw481nvyw7cchbr3qjks4mkj2qb3s9147ad8j";
|
hash = "sha256-LNS4m7Er4dQKYDuHMF/5mAi4yGcYzppxfqVKFOT6I/s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ rubyEnv bash ncurses ];
|
buildInputs = [ rubyEnv bash ncurses ];
|
||||||
|
@ -37,6 +37,8 @@ stdenv.mkDerivation rec {
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/{bin,lib/taoup}
|
mkdir -p $out/{bin,lib/taoup}
|
||||||
|
|
||||||
cp taoup $out/lib/taoup
|
cp taoup $out/lib/taoup
|
||||||
|
@ -51,6 +53,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cp taoup-fortune $out/bin
|
cp taoup-fortune $out/bin
|
||||||
chmod +x $out/bin/taoup-fortune
|
chmod +x $out/bin/taoup-fortune
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue