nixpkgs/pkgs/by-name/ni/nimmm/package.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

27 lines
672 B
Nix

{ lib, buildNimPackage, fetchFromGitHub, termbox, pcre }:
buildNimPackage (finalAttrs: {
pname = "nimmm";
version = "0.3.0";
src = fetchFromGitHub {
owner = "joachimschmidt557";
repo = "nimmm";
rev = "v${finalAttrs.version}";
hash = "sha256-gRQWReZP7bpGX9fvueQaQkX8yMmngT5DT3o4ly9Ux1g=";
};
lockFile = ./lock.json;
buildInputs = [ termbox pcre ];
meta = {
description = "Terminal file manager written in Nim";
mainProgram = "nimmm";
homepage = "https://github.com/joachimschmidt557/nimmm";
license = lib.licenses.gpl3;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.joachimschmidt557 ];
};
})