diff options
author | aszlig <aszlig@nix.build> | 2023-06-06 17:57:55 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2023-06-06 17:57:55 +0200 |
commit | 9d0fdbe350baa14be08f3630b2b575a7f0b5bf53 (patch) | |
tree | b225a798e993185635eb07beaaaa879ed7ab1dfa /pkgs/applications/office | |
parent | c14dac6f253bc601405f935b0b2f0d1436c9504c (diff) | |
parent | c3f3039fe38f88f8c4f3e106cbaa2a5f7aec76de (diff) | |
download | nixpkgs-9d0fdbe350baa14be08f3630b2b575a7f0b5bf53.tar nixpkgs-9d0fdbe350baa14be08f3630b2b575a7f0b5bf53.tar.gz nixpkgs-9d0fdbe350baa14be08f3630b2b575a7f0b5bf53.tar.bz2 nixpkgs-9d0fdbe350baa14be08f3630b2b575a7f0b5bf53.tar.lz nixpkgs-9d0fdbe350baa14be08f3630b2b575a7f0b5bf53.tar.xz nixpkgs-9d0fdbe350baa14be08f3630b2b575a7f0b5bf53.tar.zst nixpkgs-9d0fdbe350baa14be08f3630b2b575a7f0b5bf53.zip |
Merge pull request #236135 (paperwork-json)
This adds paperwork-json to the executables of the paperwork package. The executable in question is similar in nature to paperwork-cli but it's designed to be used in scripts. I've done a quick test on my local machine and given that it's just adding another executable I'm merging this since I do not see a lot of room for breaking things.
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/paperwork/paperwork-gtk.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/office/paperwork/paperwork-gtk.nix b/pkgs/applications/office/paperwork/paperwork-gtk.nix index 6c09681137e..36d3b0056b4 100644 --- a/pkgs/applications/office/paperwork/paperwork-gtk.nix +++ b/pkgs/applications/office/paperwork/paperwork-gtk.nix @@ -66,7 +66,9 @@ python3Packages.buildPythonApplication rec { postInstall = '' # paperwork-shell needs to be re-wrapped with access to paperwork - cp ${python3Packages.paperwork-shell}/bin/.paperwork-cli-wrapped $out/bin/paperwork-cli + for exe in paperwork-cli paperwork-json; do + cp ${python3Packages.paperwork-shell}/bin/.$exe-wrapped $out/bin/$exe + done # install desktop files and icons XDG_DATA_HOME=$out/share $out/bin/paperwork-gtk install --user @@ -120,6 +122,9 @@ python3Packages.buildPythonApplication rec { --config-file=${dbus}/share/dbus-1/session.conf \ $out/bin/paperwork-gtk chkdeps + $out/bin/paperwork-cli chkdeps + $out/bin/paperwork-json chkdeps + # content of make test, without the dep on make install python -m unittest discover --verbose -s tests |