diff --git a/pkgs/by-name/ma/maiko/package.nix b/pkgs/by-name/ma/maiko/package.nix index 991d7d29a6b0..5f5b436d9cc5 100644 --- a/pkgs/by-name/ma/maiko/package.nix +++ b/pkgs/by-name/ma/maiko/package.nix @@ -6,28 +6,33 @@ xorg, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "maiko"; - version = "2021-04-14"; + version = "250201-55e20ea9"; + src = fetchFromGitHub { owner = "Interlisp"; repo = "maiko"; - rev = "91fe7d51f9d607bcedde0e78e435ee188a8c84c0"; - hash = "sha256-Y+ngep/xHw6RCU8XVRYSWH6S+9hJ74z50pGpIqS2CjM="; + tag = "maiko-${finalAttrs.version}"; + hash = "sha256-7TmMvDaSmdbMa2fVbETRcyKndGM3CuaxI2cJj00WlSc="; }; + nativeBuildInputs = [ cmake ]; + buildInputs = [ xorg.libX11 ]; + installPhase = '' runHook preInstall find . -maxdepth 1 -executable -type f -exec install -Dt $out/bin '{}' \; runHook postInstall ''; - meta = with lib; { + + meta = { description = "Medley Interlisp virtual machine"; homepage = "https://interlisp.org/"; changelog = "https://github.com/Interlisp/maiko/releases"; - license = licenses.mit; - maintainers = with maintainers; [ ehmry ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ ehmry ]; inherit (xorg.libX11.meta) platforms; }; -} +})