mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
scantpaper: add desktop entry (#536303)
This commit is contained in:
@@ -104,6 +104,16 @@ python3.pkgs.buildPythonApplication rec {
|
||||
(lib.makeBinPath runtimeExecDeps)
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 \
|
||||
icons/hicolor/scalable/apps/scantpaper.svg \
|
||||
$out/share/icons/hicolor/scalable/apps/scantpaper.svg
|
||||
|
||||
install -Dm444 \
|
||||
org.scantpaper.desktop \
|
||||
$out/share/applications/org.scantpaper.desktop
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/carygravel/scantpaper/blob/${src.tag}/changelog.md";
|
||||
description = "GUI to produce PDFs or DjVus from scanned documents";
|
||||
|
||||
Reference in New Issue
Block a user