2021-01-17 00:15:33 +00:00
|
|
|
{ fetchurl, lib, stdenv, cmake, qt4, fftw }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ qt4 fftw ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
cmakeFlags = [ "-DUSE_SYSTEM_FFTW=ON" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/Y-Vladimir/SmartDeblur";
|
|
|
|
description = "Tool for restoring blurry and defocused images";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = with lib.maintainers; [ ];
|
|
|
|
platforms = with lib.platforms; linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|