mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
rubyLibs.rmagick: add expression
This commit is contained in:
parent
bc1c117e85
commit
e5387aeef3
2 changed files with 20 additions and 1 deletions
|
@ -123,6 +123,7 @@ g: # Get dependencies from patched gems
|
|||
right_http_connection = g.right_http_connection_1_4_0;
|
||||
rjb = g.rjb_1_4_8;
|
||||
rkelly_remix = g.rkelly_remix_0_0_4;
|
||||
rmagick = g.rmagick_2_13_2;
|
||||
rmail = g.rmail_1_0_0;
|
||||
rmail_sup = g.rmail_sup_1_0_1;
|
||||
rspec = g.rspec_2_11_0;
|
||||
|
@ -2101,6 +2102,17 @@ in JSDuck.
|
|||
requiredGems = [ ];
|
||||
sha256 = ''1w6yr5n3b8yd0rsba9q3zyxr0n2hbpkz4v2k1qx6j1ywvl9rc2c1'';
|
||||
};
|
||||
rmagick_2_13_2 = {
|
||||
basename = ''rmagick'';
|
||||
meta = {
|
||||
description = ''Ruby binding to ImageMagick'';
|
||||
homepage = ''http://rubyforge.org/projects/rmagick'';
|
||||
longDescription = ''RMagick is an interface between Ruby and ImageMagick.'';
|
||||
};
|
||||
name = ''rmagick-2.13.2'';
|
||||
requiredGems = [ ];
|
||||
sha256 = ''1fw5rs5yqi5ayh44d18gjq68chiz14byx01h33c8jvkdxz3b9wz4'';
|
||||
};
|
||||
rmail_1_0_0 = {
|
||||
basename = ''rmail'';
|
||||
meta = {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{ fetchurl, writeScript, ruby, ncurses, sqlite, libxml2, libxslt, libffi
|
||||
, zlib, libuuid, gems, jdk, python, stdenv, libiconvOrEmpty }:
|
||||
, zlib, libuuid, gems, jdk, python, stdenv, libiconvOrEmpty, imagemagick
|
||||
, pkgconfig }:
|
||||
|
||||
let
|
||||
|
||||
|
@ -76,6 +77,12 @@ in
|
|||
NIX_POST_EXTRACT_FILES_HOOK = patchUsrBinEnv;
|
||||
};
|
||||
|
||||
rmagick = {
|
||||
buildInputs = [ imagemagick pkgconfig ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${imagemagick}/include/ImageMagick-6";
|
||||
};
|
||||
|
||||
xrefresh_server =
|
||||
let
|
||||
patch = fetchurl {
|
||||
|
|
Loading…
Reference in a new issue