commit
20b9cbf493
@ -43,16 +43,16 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rio";
|
||||
version = "0.0.18";
|
||||
version = "0.0.19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "raphamorim";
|
||||
repo = "rio";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-/zqJQQLpwYil4BBZJDMMC8JRAEG0vGeG0dCDzLzPk/o=";
|
||||
hash = "sha256-N7eHIyp2imkMUVwiOCameOROoaDJ7g+zNKdIB2aGZy0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-jev4fMwCygVzvrkI1nSE5tx59nGqNKQUHCNHvkr9R90=";
|
||||
cargoHash = "sha256-XD+/DaaJEJ9jHZITTUma/wfsbduPUTc/SralPOx46Yo=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
@ -78,6 +78,10 @@ rustPlatform.buildRustPackage rec {
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -D -m 644 misc/rio.desktop -t $out/share/applications
|
||||
install -D -m 644 rio/src/screen/window/resources/images/logo.png \
|
||||
$out/share/icons/hicolor/scalable/apps/rio.png
|
||||
|
||||
install -dm 755 "$terminfo/share/terminfo/r/"
|
||||
tic -xe rio,rio-direct -o "$terminfo/share/terminfo" misc/rio.terminfo
|
||||
mkdir -p $out/nix-support
|
||||
|
Loading…
Reference in New Issue
Block a user