Merge pull request #118262 from dotlambda/sc-im-0.8.1

sc-im: 0.8.0 -> 0.8.1
This commit is contained in:
Sandro 2021-04-01 23:45:36 +02:00 committed by GitHub
commit 1ee32fa58e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,6 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, makeWrapper , makeWrapper
, pkg-config , pkg-config
, which , which
@ -15,31 +14,17 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sc-im"; pname = "sc-im";
version = "0.8.0"; version = "0.8.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "andmarti1424"; owner = "andmarti1424";
repo = "sc-im"; repo = "sc-im";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-/eG2BdkyfEGoSzPu6jT+Bn1RZTGT1D3etGj1tYchm1M="; sha256 = "sha256-AIYa3d1ml1f5GNLKijeFPX+UabgEqzdXiP60BGvBPsQ=";
}; };
sourceRoot = "${src.name}/src"; sourceRoot = "${src.name}/src";
# make default colors readable on dark background
patches = [
(fetchpatch {
url = "https://github.com/andmarti1424/sc-im/commit/78d2fdaaf2c578691e68fb5bd773803cb967ddba.patch";
sha256 = "09716zsqa9qdsj2qpkji8wlzsmp9gl66ggvrg7lmrwwnvli2zn2w";
})
(fetchpatch {
url = "https://github.com/andmarti1424/sc-im/commit/f29d6605c8170febcec0dea7bda9613bee3b7011.patch";
sha256 = "1zs1sb23g0k6lig4d0qdzq1wdhcdzl424ch567zyjl191lyhsjyg";
})
];
patchFlags = [ "-p2" ];
nativeBuildInputs = [ nativeBuildInputs = [
makeWrapper makeWrapper
pkg-config pkg-config