diff options
author | Alan Pearce | 2019-11-26 12:58:10 +0100 |
---|---|---|
committer | Alan Pearce | 2019-11-26 12:58:10 +0100 |
commit | b3fb3c581c5914db69a764388705070c4886b6fd (patch) | |
tree | 37d8e07b883ac76e3fa419b9ec79ebc67ac387d7 /user/packages/ripcord | |
parent | eeb20ec76fd4c3c48af600462bb8a8e12a5dbbd1 (diff) | |
download | nixfiles-b3fb3c581c5914db69a764388705070c4886b6fd.tar.lz nixfiles-b3fb3c581c5914db69a764388705070c4886b6fd.tar.zst nixfiles-b3fb3c581c5914db69a764388705070c4886b6fd.zip |
ripcord: use standard package naming convention
Diffstat (limited to 'user/packages/ripcord')
-rw-r--r-- | user/packages/ripcord/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/user/packages/ripcord/default.nix b/user/packages/ripcord/default.nix index 1a1c015b..f4874119 100644 --- a/user/packages/ripcord/default.nix +++ b/user/packages/ripcord/default.nix @@ -1,13 +1,18 @@ { pkgs, lib, fetchurl, ... }: let + pname = "ripcord"; version = "0.4.21"; in -pkgs.appimageTools.wrapType2 { - name = "ripcord"; +pkgs.appimageTools.wrapType2 rec { + name = "${pname}-${version}"; src = fetchurl { url = "https://cancel.fm/dl/Ripcord-${version}-x86_64.AppImage"; sha256 = "63a16a1369bc9c6d7b24c12044e3d2e341264f65ac38bd16bf01576f6cceb3df"; }; + + extraInstallCommands = '' + mv $out/bin/{${name},${pname}} + ''; } |