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:
commit
f066de7e7e
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue