2021-11-11 13:46:17 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, qt4, fftw }:
|
2013-11-12 21:11:47 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-10 21:21:47 +00:00
|
|
|
pname = "smartdeblur";
|
|
|
|
version = "unstable-2013-01-09";
|
2013-11-12 21:11:47 +00:00
|
|
|
|
2021-11-11 13:46:17 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Y-Vladimir";
|
|
|
|
repo = "SmartDeblur";
|
|
|
|
rev = "9895036d26cbb823a9ade28cdcb26fd0ac37258e";
|
|
|
|
sha256 = "sha256-+EbqEpOG1fj2OKmlz8NRF/CGfT2OYGwY5/lwJHCHaMw=";
|
2013-11-12 21:11:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd src
|
|
|
|
'';
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ qt4 fftw ];
|
2013-11-12 21:11:47 +00:00
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
cmakeFlags = [ "-DUSE_SYSTEM_FFTW=ON" ];
|
2013-11-12 21:11:47 +00:00
|
|
|
|
2021-11-11 13:46:17 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Y-Vladimir/SmartDeblur";
|
2013-11-12 21:11:47 +00:00
|
|
|
description = "Tool for restoring blurry and defocused images";
|
2021-11-11 13:46:17 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
platforms = platforms.linux;
|
2013-11-12 21:11:47 +00:00
|
|
|
};
|
|
|
|
}
|