Merge pull request #118361 from IvarWithoutBones/bump/discordctl
betterdiscordctl: 1.7.0 -> 1.7.1
This commit is contained in:
commit
b41bccfb26
@ -1,23 +1,16 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
|
{ lib, stdenv, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "betterdiscordctl";
|
pname = "betterdiscordctl";
|
||||||
version = "1.7.0";
|
version = "1.7.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bb010g";
|
owner = "bb010g";
|
||||||
repo = "betterdiscordctl";
|
repo = "betterdiscordctl";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0qpmm5l8jhm7k0kqblc0bnr9fl4b6z8iddhjar03bb4kqgr962fa";
|
sha256 = "12c3phcfwl4p2jfh22ihm57vxw4nq5kwqirb7y4gzc91swfh5yj1";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch { # Required till https://github.com/bb010g/betterdiscordctl/pull/67 is merged upstream.
|
|
||||||
url = "https://github.com/bb010g/betterdiscordctl/pull/67/commits/f1c7170fc2626d9aec4d244977b5a73c401aa1d4.patch";
|
|
||||||
sha256 = "003zqd9ljb9h674sjwjvvdfs7q4cw0p1ydg3lax132vb4vz9k0zi";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
preBuild = "sed -i 's/^nix=$/&yes/g;s/^DISABLE_UPGRADE=$/&yes/g' ./betterdiscordctl";
|
preBuild = "sed -i 's/^nix=$/&yes/g;s/^DISABLE_UPGRADE=$/&yes/g' ./betterdiscordctl";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user