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

26 lines
696 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "modd";
version = "unstable-2021-12-15";
src = fetchFromGitHub {
owner = "cortesi";
repo = "modd";
rev = "6083f9d1c171bd3292945672dab654a70d205945";
sha256 = "sha256-KDZyOnytDLyybHTgU1v/NpiomeHXMIUHiQ+Xpmwyo0w=";
};
vendorHash = "sha256-O+hJRMSwV/9NHxbaLjloCWnfPugfRYaXNve098wjbqQ=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "A flexible developer tool that runs processes and responds to filesystem changes";
mainProgram = "modd";
homepage = "https://github.com/cortesi/modd";
license = licenses.mit;
maintainers = with maintainers; [ kierdavis ];
};
}