1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/applications/graphics/smartdeblur/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

33 lines
766 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; [ viric ];
platforms = with stdenv.lib.platforms; linux;
};
}