Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
18ac28b
commit 3ccc139
Showing
4 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters