mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
66d7126255
Since years I'm not maintaining anything of the list below other than some updates when I needed them for some reason. Other people is doing that maintenance on my behalf so I better take me out but for very few packages. Finally!
33 lines
760 B
Nix
33 lines
760 B
Nix
{ 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 = stdenv.lib.licenses.gpl3;
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|