nixpkgs/pkgs/servers/http/hyp/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

21 lines
531 B
Nix

{ lib, python3Packages, fetchPypi }:
python3Packages.buildPythonPackage rec {
pname = "hyp-server";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "1lafjdcn9nnq6xc3hhyizfwh6l69lc7rixn6dx65aq71c913jc15";
};
meta = with lib; {
description = "Hyperminimal https server";
mainProgram = "hyp";
homepage = "https://github.com/rnhmjoj/hyp";
license = with licenses; [gpl3Plus mit];
maintainers = with maintainers; [ rnhmjoj ];
platforms = platforms.unix;
};
}