nixpkgs/pkgs/applications/networking/gopher/geomyidae/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
632 B
Nix

{ lib, stdenv, fetchurl, libressl,
}:
stdenv.mkDerivation rec {
pname = "geomyidae";
version = "0.69";
src = fetchurl {
url = "gopher://bitreich.org/9/scm/geomyidae/tag/geomyidae-v${version}.tar.gz";
hash = "sha256-C0mAjyS2wZVipXP/sKxa/d7gDyYQ/MvmwqQ/QMzmcRE=";
};
buildInputs = [ libressl ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with lib; {
description = "A gopher daemon for Linux/BSD";
mainProgram = "geomyidae";
homepage = "gopher://bitreich.org/1/scm/geomyidae";
license = licenses.mit;
maintainers = [ maintainers.athas ];
platforms = platforms.unix;
};
}