nixpkgs/pkgs/applications/misc/seashells/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

28 lines
745 B
Nix

{ lib, python3Packages, fetchPypi }:
python3Packages.buildPythonApplication rec {
pname = "seashells";
version = "0.1.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-RBs28FC7f82DrxRcmvTP9nljVpm7tjrGuvr05l32hDM=";
};
doCheck = false; # there are no tests
pythonImportsCheck = [ "seashells" ];
meta = with lib; {
homepage = "https://seashells.io/";
description = "Pipe command-line programs to seashells.io";
mainProgram = "seashells";
longDescription = ''
Official cient for seashells.io, which allows you to view
command-line output on the web, in real-time.
'';
license = licenses.mit;
maintainers = with maintainers; [ deejayem ];
};
}