smartdeblur: switch to fetchFromGitHub, update meta

+10 -9
+10 -9
pkgs/applications/graphics/smartdeblur/default.nix
··· 1 - { fetchurl, lib, stdenv, cmake, qt4, fftw }: 2 3 stdenv.mkDerivation rec { 4 pname = "smartdeblur"; 5 version = "unstable-2013-01-09"; 6 7 - src = fetchurl { 8 - url = "https://github.com/Y-Vladimir/SmartDeblur/tarball/9895036d26"; 9 - name = "smartdeblur-${version}.tar.gz"; 10 - sha256 = "126x9x1zhqdarjz9in0p1qhmqg3jwz7frizadjvx723g2ppi33s4"; 11 }; 12 13 preConfigure = '' ··· 19 20 cmakeFlags = [ "-DUSE_SYSTEM_FFTW=ON" ]; 21 22 - meta = { 23 homepage = "https://github.com/Y-Vladimir/SmartDeblur"; 24 description = "Tool for restoring blurry and defocused images"; 25 - license = lib.licenses.gpl3; 26 - maintainers = with lib.maintainers; [ ]; 27 - platforms = with lib.platforms; linux; 28 }; 29 }
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, qt4, fftw }: 2 3 stdenv.mkDerivation rec { 4 pname = "smartdeblur"; 5 version = "unstable-2013-01-09"; 6 7 + src = fetchFromGitHub { 8 + owner = "Y-Vladimir"; 9 + repo = "SmartDeblur"; 10 + rev = "9895036d26cbb823a9ade28cdcb26fd0ac37258e"; 11 + sha256 = "sha256-+EbqEpOG1fj2OKmlz8NRF/CGfT2OYGwY5/lwJHCHaMw="; 12 }; 13 14 preConfigure = '' ··· 20 21 cmakeFlags = [ "-DUSE_SYSTEM_FFTW=ON" ]; 22 23 + meta = with lib; { 24 homepage = "https://github.com/Y-Vladimir/SmartDeblur"; 25 description = "Tool for restoring blurry and defocused images"; 26 + license = licenses.gpl3; 27 + maintainers = with maintainers; [ ]; 28 + platforms = platforms.linux; 29 }; 30 }