pinentry-dmenu: init at 0.2.2 (#387479)

authored by Franz Pletz and committed by GitHub afd27e16 9772f8f4

+71
+11
maintainers/maintainer-list.nix
··· 23204 github = "sweenu"; 23205 githubId = 7051978; 23206 }; 23207 swendel = { 23208 name = "Sebastian Wendel"; 23209 email = "nixpkgs.aiX5ph@srx.digital";
··· 23204 github = "sweenu"; 23205 githubId = 7051978; 23206 }; 23207 + sweiglbosker = { 23208 + email = "stefan@s00.xyz"; 23209 + github = "sweiglbosker"; 23210 + githubId = 124390044; 23211 + name = "Stefan Weigl-Bosker"; 23212 + keys = [ 23213 + { 23214 + fingerprint = "B520 0ABF BD21 3FC9 C17C 6DB9 1291 CBBC F3B9 F225"; 23215 + } 23216 + ]; 23217 + }; 23218 swendel = { 23219 name = "Sebastian Wendel"; 23220 email = "nixpkgs.aiX5ph@srx.digital";
+60
pkgs/by-name/pi/pinentry-dmenu/package.nix
···
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + fontconfig, 6 + gpgme, 7 + libX11, 8 + libXinerama, 9 + libXft, 10 + pkg-config, 11 + zlib, 12 + writeText, 13 + libassuan, 14 + libconfig, 15 + libgpg-error, 16 + }: 17 + 18 + stdenv.mkDerivation (finalAttrs: { 19 + pname = "pinentry-dmenu"; 20 + version = "0.2.2"; 21 + 22 + src = fetchFromGitHub { 23 + owner = "ritze"; 24 + repo = "pinentry-dmenu"; 25 + tag = finalAttrs.version; 26 + hash = "sha256-FmP9tI/oU7VM8x+Wu6bbeg1CVopZc6oOWnd4qUptVV8="; 27 + }; 28 + 29 + nativeBuildInputs = [ pkg-config ]; 30 + buildInputs = [ 31 + fontconfig 32 + gpgme 33 + libassuan 34 + libconfig 35 + libgpg-error 36 + libX11 37 + libXinerama 38 + libXft 39 + ]; 40 + 41 + preConfigure = '' 42 + makeFlagsArray+=( 43 + PREFIX="$out" 44 + CC="$CC" 45 + # default config.mk hardcodes dependent libraries and include paths 46 + INCS="`$PKG_CONFIG --cflags fontconfig x11 xft xinerama`" 47 + LIBS="`$PKG_CONFIG --libs fontconfig x11 xft xinerama`" 48 + ) 49 + ''; 50 + 51 + meta = { 52 + description = "Pinentry implementation based on dmenu"; 53 + homepage = "https://github.com/ritze/pinentry-dmenu"; 54 + changelog = "https://github.com/ritze/pinentry-dmenu/releases/tag/${finalAttrs.version}"; 55 + license = lib.licenses.gpl2Only; 56 + maintainers = with lib.maintainers; [ sweiglbosker ]; 57 + mainProgram = "pinentry-dmenu"; 58 + platforms = lib.platforms.linux; 59 + }; 60 + })