nixpkgs/pkgs/applications/networking/irc/ii/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

24 lines
539 B
Nix

{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
pname = "ii";
version = "2.0";
src = fetchurl {
url = "https://dl.suckless.org/tools/${pname}-${version}.tar.gz";
sha256 = "sha256-T2evzSCMB5ObiKrb8hSXpwKtCgf5tabOhh+fOf/lQls=";
};
makeFlags = [ "CC:=$(CC)" ];
installFlags = [ "PREFIX=$(out)" ];
meta = {
homepage = "https://tools.suckless.org/ii/";
license = lib.licenses.mit;
description = "Irc it, simple FIFO based irc client";
mainProgram = "ii";
platforms = lib.platforms.unix;
};
}