nixpkgs/pkgs/by-name/cd/cdk/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

32 lines
717 B
Nix

{ lib
, stdenv
, fetchurl
, ncurses
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cdk";
version = "5.0-20230201";
src = fetchurl {
url = "https://invisible-mirror.net/archives/cdk/cdk-${finalAttrs.version}.tgz";
hash = "sha256-oxJ7Wf5QX16Jjao90VsM9yShJ0zmgWW3eb4vKdTE8vY=";
};
buildInputs = [
ncurses
];
enableParallelBuilding = true;
meta = {
description = "Curses development kit";
mainProgram = "cdk5-config";
homepage = "https://invisible-island.net/cdk/";
changelog = "https://invisible-island.net/cdk/CHANGES.html";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ raskin AndersonTorres ];
inherit (ncurses.meta) platforms;
};
})