smartdeblur: switch to fetchFromGitHub, update meta

This commit is contained in:
Sandro Jäckel 2021-11-11 14:46:17 +01:00
parent b7d071664d
commit 38a9cc1745
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,13 +1,14 @@
{ fetchurl, lib, stdenv, cmake, qt4, fftw }:
{ lib, stdenv, fetchFromGitHub, cmake, qt4, fftw }:
stdenv.mkDerivation rec {
pname = "smartdeblur";
version = "unstable-2013-01-09";
src = fetchurl {
url = "https://github.com/Y-Vladimir/SmartDeblur/tarball/9895036d26";
name = "smartdeblur-${version}.tar.gz";
sha256 = "126x9x1zhqdarjz9in0p1qhmqg3jwz7frizadjvx723g2ppi33s4";
src = fetchFromGitHub {
owner = "Y-Vladimir";
repo = "SmartDeblur";
rev = "9895036d26cbb823a9ade28cdcb26fd0ac37258e";
sha256 = "sha256-+EbqEpOG1fj2OKmlz8NRF/CGfT2OYGwY5/lwJHCHaMw=";
};
preConfigure = ''
@ -19,11 +20,11 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DUSE_SYSTEM_FFTW=ON" ];
meta = {
meta = with lib; {
homepage = "https://github.com/Y-Vladimir/SmartDeblur";
description = "Tool for restoring blurry and defocused images";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ ];
platforms = with lib.platforms; linux;
license = licenses.gpl3;
maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}