cataract: init at 1.1.0 and HEAD

This commit is contained in:
Matthias Beyer
2017-01-31 09:20:08 +00:00
committed by Vincent Laporte
parent 18ac28b45d
commit 3ccc139b3d
4 changed files with 75 additions and 0 deletions
+38
View File
@@ -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;
};
}