mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
gimp-lensfun: 0.1.1 -> 0.2.4
This commit is contained in:
parent
13fbc6ccd1
commit
acbd916119
|
@ -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 a new issue