diff options
Diffstat (limited to 'pkgs/applications/misc/cataract/build.nix')
-rw-r--r-- | pkgs/applications/misc/cataract/build.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/misc/cataract/build.nix b/pkgs/applications/misc/cataract/build.nix new file mode 100644 index 000000000000..587a20b2704e --- /dev/null +++ b/pkgs/applications/misc/cataract/build.nix @@ -0,0 +1,38 @@ +{ stdenv +, fetchgit +, autoreconfHook +, glib +, pkgconfig +, libxml2 +, exiv2 +, imagemagick +, version +, sha256 +, rev }: + +stdenv.mkDerivation rec { + inherit version; + name = "cataract-${version}"; + + src = fetchgit { + url = "git://git.bzatek.net/cataract"; + inherit sha256 rev; + }; + + buildInputs = [ autoreconfHook glib pkgconfig libxml2 exiv2 imagemagick ]; + + 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; + }; +} + + |