btop: 1.4.2 -> 1.4.3
Diff: https://github.com/aristocratos/btop/compare/v1.4.2...v1.4.3 Changelog: https://github.com/aristocratos/btop/blob/v1.4.3/CHANGELOG.md
This commit is contained in:
committed by
Bjørn Forsman
parent
eea99099b1
commit
289752acef
@@ -1,6 +1,5 @@
|
||||
{
|
||||
lib,
|
||||
fetchpatch,
|
||||
config,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
@@ -16,13 +15,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "btop";
|
||||
version = "1.4.2";
|
||||
version = "1.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aristocratos";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-qXdIk5Mp4Cxy0//e3SwevreK8VcJwz2vUGSX7nrFvxI=";
|
||||
hash = "sha256-4x2vGmH2dfHZHG+zj2KGsL/pRNIZ8K8sXYRHy0io5IE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs =
|
||||
@@ -39,14 +38,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
patches = [
|
||||
# https://github.com/aristocratos/btop/issues/1138
|
||||
(fetchpatch {
|
||||
url = "https://github.com/aristocratos/btop/commit/c3b225f536a263eb6d35708b1057dd4a6f1524a5.patch";
|
||||
sha256 = "sha256-I05stm1mkiBpdNIUzL7cwG3kwcKJSHB7FEtnXxKyazQ=";
|
||||
})
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
${removeReferencesTo}/bin/remove-references-to -t ${stdenv.cc.cc} $(readlink -f $out/bin/btop)
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user