nixpkgs/pkgs/development/compilers/passerine/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
650 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "passerine";
version = "0.9.3";
src = fetchFromGitHub {
owner = "vrtbl";
repo = "passerine";
rev = "v${version}";
hash = "sha256-TrbcULIJ9+DgQ4QsLYD5okxHoIusGJDw1PqJQwq1zu0=";
};
cargoHash = "sha256-A+sOT0rloAktDdVXe2HEPK25euh9T7c0rXybZmZpqC0=";
meta = with lib; {
description = "A small extensible programming language designed for concise expression with little code";
mainProgram = "passerine";
homepage = "https://www.passerine.io/";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
};
}