gimpPlugins.lqrPlugin: use liblqr1 from pkgs

This commit is contained in:
Jan Tojnar 2018-04-12 22:02:37 +02:00
parent b0d3ed3484
commit 882682827a
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -35,15 +35,6 @@ let
installPhase = "installScripts ${src}";
};
libLQR = pluginDerivation {
name = "liblqr-1-0.4.1";
# required by lqrPlugin, you don't havet to install this lib explicitely
src = fetchurl {
url = http://registry.gimp.org/files/liblqr-1-0.4.1.tar.bz2;
sha256 = "02g90wag7xi5rjlmwq8h0qs666b1i2sa90s4303hmym40il33nlz";
};
};
in
rec {
gap = pluginDerivation {
@ -166,12 +157,12 @@ rec {
Layer/Liquid Rescale
*/
name = "lqr-plugin-0.6.1";
buildInputs = with pkgs; [ libLQR ];
buildInputs = with pkgs; [ liblqr1 ];
src = fetchurl {
url = http://registry.gimp.org/files/gimp-lqr-plugin-0.6.1.tar.bz2;
sha256 = "00hklkpcimcbpjly4rjhfipaw096cpy768g9wixglwrsyqhil7l9";
};
#postInstall = ''mkdir -p $out/nix-support; echo "${libLQR}" > "$out/nix-support/propagated-user-env-packages"'';
#postInstall = ''mkdir -p $out/nix-support; echo "${liblqr1}" > "$out/nix-support/propagated-user-env-packages"'';
installPhase = "installPlugins src/gimp-lqr-plugin";
};