cataract: init at 1.1.0 and HEAD
This commit is contained in:
parent
18ac28b45d
commit
3ccc139b3d
4 changed files with 75 additions and 0 deletions
38
pkgs/applications/misc/cataract/build.nix
Normal file
38
pkgs/applications/misc/cataract/build.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
|
||||
|
17
pkgs/applications/misc/cataract/default.nix
Normal file
17
pkgs/applications/misc/cataract/default.nix
Normal 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";
|
||||
}
|
||||
|
17
pkgs/applications/misc/cataract/unstable.nix
Normal file
17
pkgs/applications/misc/cataract/unstable.nix
Normal 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";
|
||||
}
|
||||
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue