ceptre: move to by-name; add license field; cleanup; update to 0-unstable-2024-8-26 (#325113)

authored by Atemu and committed by GitHub 7491caeb 561b2543

+18 -7
+18 -7
pkgs/by-name/ce/ceptre/package.nix
··· 1 - { lib, stdenv, fetchFromGitHub, mlton }: 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + mlton, 6 + }: 2 7 3 8 stdenv.mkDerivation { 4 9 pname = "ceptre"; 5 - version = "unstable-2016-11-27"; 10 + version = "0-unstable-2024-8-26"; 6 11 7 12 src = fetchFromGitHub { 8 13 owner = "chrisamaphone"; 9 14 repo = "interactive-lp"; 10 - rev = "e436fda2ccd44e9c9d226feced9d204311deacf5"; 11 - hash = "sha256-COYrE9O/Y1/ZBNHNakBwrUVklCuk144RF9bjwa3rl5w="; 15 + rev = "22df9ff622f3363824f345089a25016e2a897077"; 16 + hash = "sha256-MKA/289KWIYzHW0RbHC0Q2fMJT45WcABZrNsCWKZr4Y="; 12 17 fetchSubmodules = true; 13 18 }; 14 19 15 20 nativeBuildInputs = [ mlton ]; 16 21 17 22 installPhase = '' 23 + runHook preInstall 18 24 mkdir -p $out/bin 19 25 cp ceptre $out/bin 26 + runHook postInstall 20 27 ''; 21 28 22 - meta = with lib; { 29 + meta = { 23 30 description = "Linear logic programming language for modeling generative interactive systems"; 24 31 mainProgram = "ceptre"; 25 32 homepage = "https://github.com/chrisamaphone/interactive-lp"; 26 - maintainers = with maintainers; [ pSub ]; 27 - platforms = platforms.unix; 33 + maintainers = with lib.maintainers; [ 34 + NotAShelf 35 + pSub 36 + ]; 37 + platforms = lib.platforms.unix; 38 + license = lib.licenses.unfree; 28 39 }; 29 40 }