Merge pull request #97342 from herrwiese/for-master/bpytop-update-v1.0.25

bpytop: 1.0.21 -> 1.0.25
This commit is contained in:
Mario Rodas 2020-09-08 18:48:50 -05:00 committed by GitHub
commit f066de7e7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "bpytop";
version = "1.0.21";
version = "1.0.25";
src = fetchFromGitHub {
owner = "aristocratos";
repo = pname;
rev = "v${version}";
sha256 = "10cygn4srmzk1b279hrlp4rjbldkzq7354fhm0jbmd3rp15b454p";
sha256 = "0sxwrckv2j1283h888pyyxply2g93x6jn6cghqh207igmcg4iaj3";
};
buildInputs = [ makeWrapper ];
@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
postPatch = ''
sed -i -e "s#/usr/\[local/\]#$out/#g" \
-e "s#/usr/{td}#$out/#g" \
-e "s#THEME_DIR: str = \"\"#THEME_DIR: str = \"$out/share/bpytop/themes\"#" \
./bpytop.py
'';