or not bwehhh
This commit is contained in:
parent
c135ce1d81
commit
72889f3146
1 changed files with 1 additions and 12 deletions
13
default.nix
13
default.nix
|
|
@ -4,7 +4,6 @@
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
electron,
|
electron,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
desktop-file-utils,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildNpmPackage rec {
|
buildNpmPackage rec {
|
||||||
|
|
@ -20,10 +19,7 @@ buildNpmPackage rec {
|
||||||
|
|
||||||
npmDepsHash = "sha256-XawYnHHuAS4HbsQYKhRQ0qPeZom7KB/2sw4GMFq5C9s=";
|
npmDepsHash = "sha256-XawYnHHuAS4HbsQYKhRQ0qPeZom7KB/2sw4GMFq5C9s=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
makeWrapper
|
|
||||||
desktop-file-utils
|
|
||||||
];
|
|
||||||
|
|
||||||
npmFlags = [ "--ignore-scripts" ];
|
npmFlags = [ "--ignore-scripts" ];
|
||||||
|
|
||||||
|
|
@ -41,13 +37,6 @@ buildNpmPackage rec {
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
desktop-file-edit \
|
|
||||||
--set-comment "An almost stable matrix client" \
|
|
||||||
--set-key="Categories" --set-value="Network;InstantMessaging;" \
|
|
||||||
$out/share/applications/sable.desktop
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Electron wrapper for Sable Matrix Client";
|
description = "Electron wrapper for Sable Matrix Client";
|
||||||
homepage = "https://github.com/7w1/Sable-Client-Electron";
|
homepage = "https://github.com/7w1/Sable-Client-Electron";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue