diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2013-11-12 22:11:47 +0100 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2013-11-12 22:12:43 +0100 |
commit | 868fa84e3a1425be744fb757ae7fc62ac506e3ab (patch) | |
tree | 087fe1ac4e246f682e2af23eaabb46952067d477 /pkgs/applications/graphics/smartdeblur/default.nix | |
parent | 844b053cce172c9cd4cc60b640c83490aea7c47b (diff) | |
download | nixpkgs-868fa84e3a1425be744fb757ae7fc62ac506e3ab.tar nixpkgs-868fa84e3a1425be744fb757ae7fc62ac506e3ab.tar.gz nixpkgs-868fa84e3a1425be744fb757ae7fc62ac506e3ab.tar.bz2 nixpkgs-868fa84e3a1425be744fb757ae7fc62ac506e3ab.tar.lz nixpkgs-868fa84e3a1425be744fb757ae7fc62ac506e3ab.tar.xz nixpkgs-868fa84e3a1425be744fb757ae7fc62ac506e3ab.tar.zst nixpkgs-868fa84e3a1425be744fb757ae7fc62ac506e3ab.zip |
Adding smartdeblur (gpl3 version, ~1.27)
Diffstat (limited to 'pkgs/applications/graphics/smartdeblur/default.nix')
-rw-r--r-- | pkgs/applications/graphics/smartdeblur/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/smartdeblur/default.nix b/pkgs/applications/graphics/smartdeblur/default.nix new file mode 100644 index 00000000000..83f3c751029 --- /dev/null +++ b/pkgs/applications/graphics/smartdeblur/default.nix @@ -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; + }; +} + |