forked from mirrors/nixpkgs
ce1c1e3093
With this patch I remove myself as a maintainer for all packages I currently maintain. This is due the fact that I will be basically off the grid from May 2018 until early 2019, as I will be on a trip through north america. I will revert this patch as soon as I'm back, as I plan to continue contributing to nixpkgs then. But as I cannot maintain anything during that time, I'd like to get this patch merged. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
40 lines
790 B
Nix
40 lines
790 B
Nix
{ 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;
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ glib 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 = with stdenv.lib.maintainers; [ ];
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
|
};
|
|
}
|
|
|
|
|