Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
996 B
Nix
42 lines
996 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitLab,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hostname-debian";
|
|
version = "3.25";
|
|
|
|
outputs = [
|
|
"out"
|
|
"man"
|
|
];
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "salsa.debian.org";
|
|
owner = "meskes";
|
|
repo = "hostname";
|
|
tag = "debian/${version}";
|
|
hash = "sha256-Yq8P5bF/RRZnWuFW0y2u08oZrydAKfopOtbrwbeIu3w=";
|
|
};
|
|
|
|
makeFlags = [
|
|
"prefix=${placeholder "out"}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://salsa.debian.org/meskes/hostname/-/blob/${src.tag}/debian/changelog";
|
|
description = "Utility to set/show the host name or domain name";
|
|
longDescription = ''
|
|
This package provides commands which can be used to display the system's
|
|
DNS name, and to display or set its hostname or NIS domain name.
|
|
'';
|
|
homepage = "https://tracker.debian.org/pkg/hostname";
|
|
license = licenses.gpl2Plus;
|
|
mainProgram = "hostname";
|
|
maintainers = with maintainers; [ posch ];
|
|
platforms = platforms.gnu;
|
|
};
|
|
}
|