fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 fftw,
6 libsForQt5,
7}:
8
9stdenv.mkDerivation rec {
10 pname = "smartdeblur";
11 version = "0-unstable-2018-10-29";
12
13 src = fetchFromGitHub {
14 owner = "Y-Vladimir";
15 repo = "SmartDeblur";
16 rev = "5af573c7048ac49ef68e638f3405d3a571b96a8b";
17 sha256 = "151vdd5ld0clw0vgp0fvp2gp2ybwpx9g43dad9fvbvwkg60izs87";
18 };
19
20 sourceRoot = "${src.name}/src";
21
22 nativeBuildInputs = [
23 libsForQt5.qmake
24 libsForQt5.wrapQtAppsHook
25 ];
26 buildInputs = [
27 libsForQt5.qtbase
28 fftw
29 ];
30
31 installPhase = ''
32 runHook preInstall
33
34 install -Dm755 ./SmartDeblur -t $out/bin
35
36 runHook postInstall
37 '';
38
39 meta = with lib; {
40 homepage = "https://github.com/Y-Vladimir/SmartDeblur";
41 description = "Tool for restoring blurry and defocused images";
42 mainProgram = "SmartDeblur";
43 license = licenses.gpl3;
44 maintainers = [ ];
45 platforms = platforms.linux;
46 };
47}