betterdiscordctl: 2.0.0 -> 2.0.1

This commit is contained in:
IvarWithoutBones 2021-07-12 04:41:26 +02:00
parent 15ddd8316a
commit 2da825f798

View file

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub }: { lib, stdenvNoCC, fetchFromGitHub }:
stdenv.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "betterdiscordctl"; pname = "betterdiscordctl";
version = "2.0.0"; version = "2.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bb010g"; owner = "bb010g";
repo = "betterdiscordctl"; repo = "betterdiscordctl";
rev = "v${version}"; rev = "v${version}";
sha256 = "1wys3wbcz5hq8275ia2887kr5fzz4b3gkcp56667j9k0p3k3zfac"; sha256 = "0p321rfcihz2779sdd6qfgpxgk5yd53d33vq5pvb50dbdgxww0bc";
}; };
postPatch = '' postPatch = ''
@ -26,6 +26,12 @@ stdenv.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
doInstallCheck = true;
installCheckPhase = ''
$out/bin/betterdiscordctl --version
'';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/bb010g/betterdiscordctl"; homepage = "https://github.com/bb010g/betterdiscordctl";
description = "A utility for managing BetterDiscord on Linux"; description = "A utility for managing BetterDiscord on Linux";