nixpkgs/pkgs/by-name/pa/payme/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

24 lines
552 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "payme";
version = "1.2.0";
src = fetchFromGitHub {
owner = "jovandeginste";
repo = "payme";
rev = "v${version}";
hash = "sha256-WE/sAs0VSeb5UKkUy1iyjyXtgDmlQhdZkw8HMMSbQiE=";
};
vendorHash = null;
meta = {
description = "QR code generator (ASCII & PNG) for SEPA payments";
mainProgram = "payme";
homepage = "https://github.com/jovandeginste/payme";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ cimm ];
};
}