2013-11-12 22:11:47 +01:00
|
|
|
{ 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
|
|
|
|
'';
|
|
|
|
|
2020-12-31 08:48:55 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ qt4 fftw ];
|
2013-11-12 22:11:47 +01:00
|
|
|
|
2019-10-27 14:03:25 +01:00
|
|
|
cmakeFlags = [ "-DUSE_SYSTEM_FFTW=ON" ];
|
2013-11-12 22:11:47 +01:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/Y-Vladimir/SmartDeblur";
|
2013-11-12 22:11:47 +01:00
|
|
|
description = "Tool for restoring blurry and defocused images";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2018-07-22 21:50:19 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
2013-11-12 22:11:47 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|