diff options
author | Aaron Andersen <aaron@fosslib.net> | 2019-09-14 20:31:09 -0400 |
---|---|---|
committer | Aaron Andersen <aaron@fosslib.net> | 2019-09-14 20:31:09 -0400 |
commit | 806dfb3f6ade70b61910679177c2f64a696ad3c0 (patch) | |
tree | 5aaeae2c91cc61916c16b78657a0a6dc14b4219f /pkgs/applications/misc | |
parent | 1e056713d58cb732090183f92a869ce5c5b62215 (diff) |
cataract: fix broken build
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/cataract/build.nix | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/pkgs/applications/misc/cataract/build.nix b/pkgs/applications/misc/cataract/build.nix index 5f4e24f4d3cca..1c33a92987c15 100644 --- a/pkgs/applications/misc/cataract/build.nix +++ b/pkgs/applications/misc/cataract/build.nix @@ -22,17 +22,21 @@ stdenv.mkDerivation { nativeBuildInputs = [ autoreconfHook pkgconfig ]; buildInputs = [ glib libxml2 exiv2 imagemagick ]; + prePatch = '' + sed -i 's|#include <exiv2/exif.hpp>|#include <exiv2/exiv2.hpp>|' src/jpeg-utils.cpp + ''; + installPhase = '' mkdir $out/{bin,share} -p cp src/cgg{,-dirgen} $out/bin/ ''; - meta = { - homepage = http://cgg.bzatek.net/; - description = "a simple static web photo gallery, designed to be clean and easily usable"; - license = stdenv.lib.licenses.gpl2; - maintainers = [ stdenv.lib.maintainers.matthiasbeyer ]; - platforms = with stdenv.lib.platforms; linux ++ darwin; + meta = with stdenv.lib; { + homepage = "http://cgg.bzatek.net/"; + description = "A simple static web photo gallery, designed to be clean and easily usable"; + license = licenses.gpl2; + maintainers = [ maintainers.matthiasbeyer ]; + platforms = with platforms; linux ++ darwin; }; } |