Merge pull request #190312 from posch/add-debian-hostname

authored by Sandro and committed by GitHub 714eff8b 9012f340

+36
+6
maintainers/maintainer-list.nix
··· 10708 10708 fingerprint = "48AD DE10 F27B AFB4 7BB0 CCAF 2D25 95A0 0D08 ACE0"; 10709 10709 }]; 10710 10710 }; 10711 + posch = { 10712 + email = "tp@fonz.de"; 10713 + github = "posch"; 10714 + githubId = 146413; 10715 + name = "Tobias Poschwatta"; 10716 + }; 10711 10717 ppenguin = { 10712 10718 name = "Jeroen Versteeg"; 10713 10719 email = "hieronymusv@gmail.com";
+28
pkgs/tools/networking/hostname-debian/default.nix
··· 1 + { stdenv, lib, fetchurl }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "hostname-debian"; 5 + version = "3.23"; 6 + 7 + src = fetchurl { 8 + url = "https://deb.debian.org/debian/pool/main/h/hostname/hostname_${version}.tar.gz"; 9 + sha256 = "sha256-vG0ZVLIoSYaf+LKmAuOfCLFwL2htS1jdeSfN61tIdu8="; 10 + }; 11 + 12 + postPatch = '' 13 + substituteInPlace Makefile --replace 'install -o root -g root' 'install' 14 + ''; 15 + makeFlags = [ "BINDIR=$(out)/bin" "MANDIR=$(out)/share/man" ]; 16 + 17 + meta = with lib; { 18 + description = "Utility to set/show the host name or domain name"; 19 + longDescription = '' 20 + This package provides commands which can be used to display the system's 21 + DNS name, and to display or set its hostname or NIS domain name. 22 + ''; 23 + homepage = "https://tracker.debian.org/pkg/hostname"; 24 + license = licenses.gpl2Plus; 25 + maintainers = with maintainers; [ posch ]; 26 + platforms = platforms.gnu; 27 + }; 28 + }
+2
pkgs/top-level/all-packages.nix
··· 7519 7519 7520 7520 hostess = callPackage ../development/tools/hostess {}; 7521 7521 7522 + hostname-debian = callPackage ../tools/networking/hostname-debian { }; 7523 + 7522 7524 hotpatch = callPackage ../development/libraries/hotpatch { }; 7523 7525 7524 7526 hotspot = libsForQt5.callPackage ../development/tools/analysis/hotspot { };