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 buildPackages,
3 lib,
4 stdenv,
5 fetchurl,
6 gettext,
7 libgpg-error,
8}:
9
10stdenv.mkDerivation (finalAttrs: {
11 pname = "libksba";
12 version = "1.6.7";
13
14 src = fetchurl {
15 url = "mirror://gnupg/libksba/libksba-${finalAttrs.version}.tar.bz2";
16 hash = "sha256-z3JRC467TrZpPu92V0nYNnegPHkpGjEQQKW/15uqt2M=";
17 };
18
19 outputs = [
20 "out"
21 "dev"
22 "info"
23 ];
24
25 buildInputs = [ gettext ];
26 propagatedBuildInputs = [ libgpg-error ];
27 depsBuildBuild = [ buildPackages.stdenv.cc ];
28
29 hardeningDisable = [ "strictflexarrays3" ];
30
31 configureFlags = [ "--with-libgpg-error-prefix=${libgpg-error.dev}" ];
32
33 postInstall = ''
34 mkdir -p $dev/bin
35 mv $out/bin/*-config $dev/bin/
36 rmdir --ignore-fail-on-non-empty $out/bin
37 '';
38
39 meta = {
40 homepage = "https://www.gnupg.org";
41 description = "CMS and X.509 access library";
42 mainProgram = "ksba-config";
43 platforms = lib.platforms.all;
44 maintainers = [ ];
45 license = lib.licenses.lgpl3;
46 };
47})