mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
39 lines
771 B
Nix
39 lines
771 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;
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|
|
|
|
|