1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00

cataract: init at 1.1.0 and HEAD

This commit is contained in:
Matthias Beyer 2016-12-20 15:38:02 +01:00 committed by Vincent Laporte
parent 18ac28b45d
commit 3ccc139b3d
4 changed files with 75 additions and 0 deletions

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;
};
}

View file

@ -0,0 +1,17 @@
{ callPackage
, stdenv
, fetchgit
, autoconf
, automake
, glib
, pkgconfig
, libxml2
, exiv2
, imagemagick }:
callPackage ./build.nix {
version = "1.1.0";
rev = "675e647dc8ae918d29f520a29be9201ae85a94dd";
sha256 = "13b9rvcy9k2ay8w36j28kc7f4lnxp4jc0494ck3xsmwgqsawmzdj";
}

View file

@ -0,0 +1,17 @@
{ callPackage
, stdenv
, fetchgit
, autoconf
, automake
, glib
, pkgconfig
, libxml2
, exiv2
, imagemagick }:
callPackage ./build.nix {
version = "unstable-2016-10-18";
rev = "db3d992febbe703931840e9bdad95c43081694a5";
sha256 = "04f85piy675lq36w1mw6mw66n8911mmn4ifj8h9x47z8z806h3rf";
}

View file

@ -696,6 +696,9 @@ with pkgs;
capstone = callPackage ../development/libraries/capstone { };
cataract = callPackage ../applications/misc/cataract { };
cataract-unstable = callPackage ../applications/misc/cataract/unstable.nix { };
catch = callPackage ../development/libraries/catch { };
catdoc = callPackage ../tools/text/catdoc { };