nixpkgs/pkgs/development/interpreters/zuo/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

24 lines
531 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "zuo";
version = "1.9";
src = fetchFromGitHub {
owner = "racket";
repo = "zuo";
rev = "v${version}";
hash = "sha256-F7ba/4VVVhNDK/wqk+kgJKYxETS2pR9ZiDh0O0aOWn0=";
};
doCheck = true;
meta = with lib; {
description = "A Tiny Racket for Scripting";
mainProgram = "zuo";
homepage = "https://github.com/racket/zuo";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.marsam ];
};
}