2016-12-20 14:38:02 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchgit
|
|
|
|
, autoreconfHook
|
|
|
|
, glib
|
|
|
|
, pkgconfig
|
|
|
|
, libxml2
|
|
|
|
, exiv2
|
|
|
|
, imagemagick
|
|
|
|
, version
|
|
|
|
, sha256
|
|
|
|
, rev }:
|
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2016-12-20 14:38:02 +00:00
|
|
|
inherit version;
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "cataract";
|
2016-12-20 14:38:02 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.bzatek.net/cataract";
|
|
|
|
inherit sha256 rev;
|
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ glib libxml2 exiv2 imagemagick ];
|
2016-12-20 14:38:02 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir $out/{bin,share} -p
|
|
|
|
cp src/cgg{,-dirgen} $out/bin/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://cgg.bzatek.net/;
|
2016-12-20 14:38:02 +00:00
|
|
|
description = "a simple static web photo gallery, designed to be clean and easily usable";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2019-02-20 18:52:48 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
|
2016-12-20 14:38:02 +00:00
|
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|