From 43f4d40e99b8cce8ff454705b71f324903be89a3 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sat, 9 Nov 2024 23:22:45 +0300 Subject: [PATCH] ceptre: cleanup Add myself as a maintainer so that I'm made aware of future updates, and get rid of nested `with lib` --- pkgs/by-name/ce/ceptre/package.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ce/ceptre/package.nix b/pkgs/by-name/ce/ceptre/package.nix index 54c190e2ca47..a2623e73757e 100644 --- a/pkgs/by-name/ce/ceptre/package.nix +++ b/pkgs/by-name/ce/ceptre/package.nix @@ -20,15 +20,21 @@ stdenv.mkDerivation { nativeBuildInputs = [ mlton ]; installPhase = '' + runHook preInstall mkdir -p $out/bin cp ceptre $out/bin + runHook postInstall ''; - meta = with lib; { + meta = { description = "Linear logic programming language for modeling generative interactive systems"; mainProgram = "ceptre"; homepage = "https://github.com/chrisamaphone/interactive-lp"; - maintainers = with maintainers; [ pSub ]; - platforms = platforms.unix; + maintainers = with lib.maintainers; [ + NotAShelf + pSub + ]; + platforms = lib.platforms.unix; + license = lib.licenses.unfree; }; }