nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 70 lines 1.3 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 cmake, 6 pkg-config, 7 arpa2cm, 8 arpa2common, 9 db, 10 gnutls, 11 ldns, 12 libkrb5, 13 libtasn1, 14 openldap, 15 p11-kit, 16 quickder, 17 unbound, 18 gitUpdater, 19}: 20 21stdenv.mkDerivation (finalAttrs: { 22 pname = "tlspool"; 23 version = "0.9.7"; 24 25 src = fetchFromGitLab { 26 owner = "arpa2"; 27 repo = "tlspool"; 28 tag = "v${finalAttrs.version}"; 29 hash = "sha256-nODnRoFlgCTtBjPief9SkVlLgD3g+2zbwM0V9pt3Crk="; 30 }; 31 32 strictDeps = true; 33 34 nativeBuildInputs = [ 35 cmake 36 pkg-config 37 libkrb5 38 ]; 39 40 buildInputs = [ 41 arpa2cm 42 arpa2common 43 db 44 gnutls 45 ldns 46 libkrb5 47 libtasn1 48 openldap 49 p11-kit 50 quickder 51 unbound 52 ]; 53 54 passthru.updateScript = gitUpdater { rev-prefix = "v"; }; 55 56 meta = { 57 description = "TLS daemon with PKCS #11 backend"; 58 homepage = "https://gitlab.com/arpa2/tlspool"; 59 changelog = "https://gitlab.com/arpa2/tlspool/-/blob/v${finalAttrs.version}/CHANGES"; 60 license = with lib.licenses; [ 61 gpl3Plus # daemon 62 cc-by-sa-40 # docs 63 bsd2 # userspace 64 ]; 65 teams = with lib.teams; [ ngi ]; 66 maintainers = with lib.maintainers; [ ethancedwards8 ]; 67 platforms = lib.platforms.linux; 68 mainProgram = "tlsserver"; 69 }; 70})