mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 14:58:14 +00:00
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
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "taoup";
|
||||
version = "1.1.14";
|
||||
version = "1.1.16";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "globalcitizen";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1gs6f66fg1l504riw481nvyw7cchbr3qjks4mkj2qb3s9147ad8j";
|
||||
hash = "sha256-LNS4m7Er4dQKYDuHMF/5mAi4yGcYzppxfqVKFOT6I/s=";
|
||||
};
|
||||
|
||||
buildInputs = [ rubyEnv bash ncurses ];
|
||||
@ -37,6 +37,8 @@ stdenv.mkDerivation rec {
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/{bin,lib/taoup}
|
||||
|
||||
cp taoup $out/lib/taoup
|
||||
@ -51,6 +53,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cp taoup-fortune $out/bin
|
||||
chmod +x $out/bin/taoup-fortune
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user