diff options
author | Johannes Frankenau <johannes@frankenau.net> | 2018-07-18 00:04:02 +0000 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-07-18 02:04:02 +0200 |
commit | e8e96e4b7290471f91f5828734d93945ec26ba2a (patch) | |
tree | 73794a0bd73404cbd3de580fb3e2157eca040a60 /pkgs | |
parent | 2391d1dbf315edc4be8bc1ae847b91376449bead (diff) | |
download | nixpkgs-e8e96e4b7290471f91f5828734d93945ec26ba2a.tar nixpkgs-e8e96e4b7290471f91f5828734d93945ec26ba2a.tar.gz nixpkgs-e8e96e4b7290471f91f5828734d93945ec26ba2a.tar.bz2 nixpkgs-e8e96e4b7290471f91f5828734d93945ec26ba2a.tar.lz nixpkgs-e8e96e4b7290471f91f5828734d93945ec26ba2a.tar.xz nixpkgs-e8e96e4b7290471f91f5828734d93945ec26ba2a.tar.zst nixpkgs-e8e96e4b7290471f91f5828734d93945ec26ba2a.zip |
scantailor-advanced: 1.0.15 -> 1.0.16 (#43653)
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/graphics/scantailor/advanced.nix | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/pkgs/applications/graphics/scantailor/advanced.nix b/pkgs/applications/graphics/scantailor/advanced.nix index 82a49896872..29e53683d1c 100644 --- a/pkgs/applications/graphics/scantailor/advanced.nix +++ b/pkgs/applications/graphics/scantailor/advanced.nix @@ -4,46 +4,23 @@ stdenv.mkDerivation rec { name = "scantailor-advanced-${version}"; - version = "1.0.15"; + version = "1.0.16"; src = fetchFromGitHub { owner = "4lex4"; repo = "scantailor-advanced"; rev = "v${version}"; - sha256 = "031jqk64ig6lmscl5yg5lp116zwn0jl7xs9rlniqf6a8g4wfbjk9"; + sha256 = "0lc9lzbpiy5hgimyhl4s4q67pb9gacpy985gl6iy8pl79zxhmcyp"; }; nativeBuildInputs = [ cmake qttools ]; buildInputs = [ libjpeg libpng libtiff boost qtbase ]; - postInstall = '' - mkdir -p $out/share/icons/hicolor/scalable/apps - cp $src/resources/appicon.svg $out/share/icons/hicolor/scalable/apps/scantailor.svg - - mkdir -p $out/share/applications - cp $desktopItem/share/applications/* $out/share/applications/ - for entry in $out/share/applications/*.desktop; do - substituteAllInPlace $entry - done - ''; - - desktopItem = makeDesktopItem { - name = "scantailor-advanced"; - exec = "scantailor %f"; - icon = "scantailor"; - comment = meta.description; - desktopName = "Scan Tailor Advanced"; - genericName = "Scan Processing Software"; - mimeType = "image/png;image/tif;image/jpeg;"; - categories = "Graphics;"; - startupNotify = "true"; - }; - meta = with stdenv.lib; { homepage = https://github.com/4lex4/scantailor-advanced; description = "Interactive post-processing tool for scanned pages"; license = licenses.gpl3Plus; maintainers = with maintainers; [ jfrankenau ]; - platforms = platforms.gnu ++ platforms.linux; + platforms = with platforms; gnu ++ linux ++ darwin; }; } |