2016-12-20 15:38:02 +01:00
|
|
|
{ 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;
|
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ glib libxml2 exiv2 imagemagick ];
|
2016-12-20 15:38:02 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir $out/{bin,share} -p
|
|
|
|
cp src/cgg{,-dirgen} $out/bin/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://cgg.bzatek.net/;
|
2016-12-20 15:38:02 +01:00
|
|
|
description = "a simple static web photo gallery, designed to be clean and easily usable";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2019-02-20 19:52:48 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
|
2016-12-20 15:38:02 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|