ripcord: use standard package naming convention
Alan Pearce alan@alanpearce.eu
Tue, 26 Nov 2019 12:58:10 +0100
1 files changed, 7 insertions(+), 2 deletions(-)
M user/packages/ripcord/default.nix → 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}} + ''; }