mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
qownnotes: 24.4.1 -> 24.4.2
This commit is contained in:
parent
6bffef7a1a
commit
0bc4989d4a
@ -21,14 +21,14 @@
|
|||||||
let
|
let
|
||||||
pname = "qownnotes";
|
pname = "qownnotes";
|
||||||
appname = "QOwnNotes";
|
appname = "QOwnNotes";
|
||||||
version = "24.4.1";
|
version = "24.4.2";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz";
|
url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz";
|
||||||
hash = "sha256-E4tLlzjIOElsZr2jcbsnge5jJqKQ0kWf86tFonZ1+Zs=";
|
hash = "sha256-HnWxIcOy7Te6Q5YfZYhvITpfsgeQw8Tt/Nr++wcpxEU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -55,11 +55,11 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --cmd ${appname} \
|
installShellCompletion --cmd ${appname} \
|
||||||
--bash <(xvfb-run $out/bin/${appname} --completion bash --allow-multiple-instances) \
|
--bash <(xvfb-run $out/bin/${appname} --completion bash) \
|
||||||
--fish <(xvfb-run $out/bin/${appname} --completion fish --allow-multiple-instances)
|
--fish <(xvfb-run $out/bin/${appname} --completion fish)
|
||||||
installShellCompletion --cmd ${pname} \
|
installShellCompletion --cmd ${pname} \
|
||||||
--bash <(xvfb-run $out/bin/${appname} --completion bash --allow-multiple-instances) \
|
--bash <(xvfb-run $out/bin/${appname} --completion bash) \
|
||||||
--fish <(xvfb-run $out/bin/${appname} --completion fish --allow-multiple-instances)
|
--fish <(xvfb-run $out/bin/${appname} --completion fish)
|
||||||
''
|
''
|
||||||
# Create a lowercase symlink for Linux
|
# Create a lowercase symlink for Linux
|
||||||
+ lib.optionalString stdenv.isLinux ''
|
+ lib.optionalString stdenv.isLinux ''
|
||||||
|
Loading…
Reference in New Issue
Block a user