nixpkgs/pkgs/development/tools/lurk/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

29 lines
730 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "lurk";
version = "0.3.4";
src = fetchFromGitHub {
owner = "jakwai01";
repo = pname;
rev = "v${version}";
hash = "sha256-7Yi77IsP/tmzrTvBVgIj2+fOXYKCT59pILeEuGuk4Y4=";
};
cargoHash = "sha256-Cvtg9msoYkIIlaUw4hxWy2wSrE1uORR/2R2Geq4SI4w=";
meta = with lib; {
description = "A simple and pretty alternative to strace";
mainProgram = "lurk";
homepage = "https://github.com/jakwai01/lurk";
changelog = "https://github.com/jakwai01/lurk/releases/tag/${src.rev}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ figsoda ];
platforms = [ "i686-linux" "x86_64-linux" ];
};
}