about summary refs log tree commit diff
path: root/pkgs/by-name/ss/ssh-askpass-fullscreen/package.nix
blob: 0b192024f239aed069f589ebd573f4d390fb1f7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ lib
, stdenv
, autoreconfHook
, fetchFromGitHub
, gtk2
, openssh
, pkg-config
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "ssh-askpass-fullscreen";
  version = "1.3";

  src = fetchFromGitHub {
    owner = "atj";
    repo = "ssh-askpass-fullscreen";
    rev = "v${finalAttrs.version}";
    hash = "sha256-1GER+SxTpbMiYLwFCwLX/hLvzCIqutyvQc9DNJ7d1C0=";
  };

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
  ];

  buildInputs = [
    gtk2
    openssh
  ];

  strictDeps = true;

  meta = {
    homepage = "https://github.com/atj/ssh-askpass-fullscreen";
    broken = stdenv.hostPlatform.isDarwin;
    description = "Small, fullscreen SSH askpass GUI using GTK+2";
    license = with lib.licenses; [ gpl2Plus ];
    mainProgram = "ssh-askpass-fullscreen";
    maintainers = with lib.maintainers; [ AndersonTorres ];
    platforms = lib.platforms.unix;
  };
})