5d26766cbf
Added homepage where missing, where the sources are pulled from: - https://github.com - https://git.sr.ht - https://gitlab.com - https://invent.kde.org - https://codeberg.org - https://gitlab.gnome.org - https://gitlab.freedesktop.org - https://git.FreeBSD.org - https://salsa.debian.org - https://git.tvdr.de - https://git.suckless.org
34 lines
678 B
Nix
34 lines
678 B
Nix
{
|
|
lib,
|
|
fetchFromGitLab,
|
|
buildDunePackage,
|
|
lwt,
|
|
ptime,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "lwt-exit";
|
|
version = "1.0";
|
|
src = fetchFromGitLab {
|
|
owner = "nomadic-labs";
|
|
repo = "lwt-exit";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-bQniNH2PGpOQFzAIp+tkOZUW4IA5jaxkTFKrIOsa5sw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
lwt
|
|
ptime
|
|
];
|
|
|
|
# for some reason this never exits
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Opinionated clean-exit and signal-handling library for Lwt programs";
|
|
homepage = "https://gitlab.com/nomadic-labs/lwt-exit";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.ulrikstrid ];
|
|
};
|
|
})
|