Adding smartdeblur (gpl3 version, ~1.27)
This commit is contained in:
parent
844b053cce
commit
868fa84e3a
33
pkgs/applications/graphics/smartdeblur/default.nix
Normal file
33
pkgs/applications/graphics/smartdeblur/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ fetchurl, stdenv, cmake, qt4, fftw }:
|
||||||
|
|
||||||
|
let
|
||||||
|
rev = "9895036d26";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "smartdeblur-git-${rev}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/Y-Vladimir/SmartDeblur/tarball/${rev}";
|
||||||
|
name = "${name}.tar.gz";
|
||||||
|
sha256 = "126x9x1zhqdarjz9in0p1qhmqg3jwz7frizadjvx723g2ppi33s4";
|
||||||
|
};
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
cd src
|
||||||
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
buildInputs = [ cmake qt4 fftw ];
|
||||||
|
|
||||||
|
cmakeFlags = "-DUSE_SYSTEM_FFTW=ON";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/Y-Vladimir/SmartDeblur";
|
||||||
|
description = "Tool for restoring blurry and defocused images";
|
||||||
|
license = "GPLv3";
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
||||||
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -8693,6 +8693,10 @@ let
|
|||||||
libpng = libpng12;
|
libpng = libpng12;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
smartdeblur = callPackage ../applications/graphics/smartdeblur {
|
||||||
|
fftw = fftw.override {pthreads = true;};
|
||||||
|
};
|
||||||
|
|
||||||
sndBase = lowPrio (builderDefsPackage (import ../applications/audio/snd) {
|
sndBase = lowPrio (builderDefsPackage (import ../applications/audio/snd) {
|
||||||
inherit fetchurl stdenv stringsWithDeps lib fftw;
|
inherit fetchurl stdenv stringsWithDeps lib fftw;
|
||||||
inherit pkgconfig gmp gettext;
|
inherit pkgconfig gmp gettext;
|
||||||
|
Loading…
Reference in New Issue
Block a user