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