mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
Merge pull request #20342 from avnik/update/gimplensfun
gimp-lensfun: 0.1.1 -> 0.2.4
This commit is contained in:
commit
cca6382f33
@ -233,21 +233,20 @@ rec {
|
||||
};
|
||||
|
||||
gimplensfun = pluginDerivation rec {
|
||||
name = "gimplensfun-0.1.1";
|
||||
version = "0.2.4";
|
||||
name = "gimplensfun-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://lensfun.sebastiankraft.net/${name}.tar.gz";
|
||||
sha256 = "0kr296n4k7gsjqg1abmvpysxi88iq5wrzdpcg7vm7l1ifvbs972q";
|
||||
src = fetchFromGitHub {
|
||||
owner = "seebk";
|
||||
repo = "GIMP-Lensfun";
|
||||
rev = version;
|
||||
sha256 = "0zlmp9v732qmzj083mnk5z421s57mnckmpjhiw890wmmwzj2lhxz";
|
||||
};
|
||||
|
||||
patchPhase = '' sed -i Makefile -e's|/usr/bin/g++|g++|' '';
|
||||
|
||||
buildInputs = [ gimp pkgconfig glib gimp.gtk pkgs.lensfun pkgs.exiv2 ];
|
||||
|
||||
installPhase = "
|
||||
installPlugins gimplensfun
|
||||
mkdir -p $out/bin
|
||||
cp gimplensfun $out/bin
|
||||
installPlugins gimp-lensfun
|
||||
";
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user