Skip to content

Commit

Permalink
add libdill
Browse files Browse the repository at this point in the history
  • Loading branch information
42LoCo42 committed Jan 7, 2025
1 parent b98f7ee commit e0d77af
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A personal collection of unusual things
* substituter: `https://attic.eleonora.gay/default`
* public key: `default:3FYh8sZV8gWa7Jc5jlP7gZFK7pt3kaHRiV70ySaQ42g=`

## 54 Packages
## 55 Packages

| Name | Version | Description | Homepage |
|------|---------|-------------|----------|
Expand All @@ -32,6 +32,7 @@ A personal collection of unusual things
|`i915ovmfPkg`|`1.0.0`|VBIOS for Intel GPU Passthrough|https://github.com/x78x79x82x79/i915ovmfPkg|
|`jade`|`2a11849`|Pug template engine for Go|https://github.com/Joker/jade|
|`lanzaboote`|`0.4.1`|Secure Boot for NixOS|https://github.com/nix-community/lanzaboote|
|`libdill`|`2.14-unstable-2022-08-10`|Structured concurrency in C|https://libdill.org|
|`libhpke`|`4eef470`|HPKE implementation in C|https://github.com/oktaysm/hpke|
|`libhydrogen`|`2024-05-09`|A lightweight, secure, easy-to-use crypto library suitable for constrained environments|https://libhydrogen.org|
|`lone`|`fca96b0`|The standalone Linux Lisp|https://github.com/lone-lang/lone|
Expand Down
32 changes: 32 additions & 0 deletions packages/libdill.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
pkgs: pkgs.stdenv.mkDerivation rec {
pname = "libdill";
version = "2.14-unstable-2022-08-10";

src = pkgs.fetchFromGitHub {
owner = "sustrik";
repo = pname;
rev = "32d0e8b733416208e0412a56490332772bc5c6e1";
hash = "sha256-K/p6SDItGM5bI0f35/Wgh9UYlixr47Xuu51z9uhMEVA=";
};

nativeBuildInputs = with pkgs; [
autoreconfHook
pkg-config
];

buildInputs = with pkgs; [
openssl
];

configureFlags = [
"--enable-static"
"--enable-tls"
];

enableParallelBuilding = true;

meta = {
description = "Structured concurrency in C";
homepage = "https://libdill.org";
};
}

0 comments on commit e0d77af

Please sign in to comment.