mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 02:53:55 +00:00
e4c189435c
- one parameter per line - use rec-less, overlay-style overridable recursive attributes (in effect since https://github.com/NixOS/nixpkgs/pull/119942) - remove references to pname - use hash instead of sha256 - multiple outputs - remove with nesting (following https://nix.dev/anti-patterns/language#with-attrset-expression) - format meta - add myself as maintainer
34 lines
1010 B
Nix
34 lines
1010 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "debianutils";
|
|
version = "5.8";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://debian/pool/main/d/debianutils/debianutils_${finalAttrs.version}.orig.tar.gz";
|
|
hash = "sha256-WwhtJ+uQY95NdGdg0PrrQNlGT7hV/IqOf7k7A+/OxiI=";
|
|
};
|
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
meta = {
|
|
homepage = "https://packages.debian.org/sid/debianutils";
|
|
description = "Miscellaneous utilities specific to Debian";
|
|
longDescription = ''
|
|
This package provides a number of small utilities which are used
|
|
primarily by the installation scripts of Debian packages, although you
|
|
may use them directly.
|
|
|
|
The specific utilities included are: add-shell installkernel ischroot
|
|
remove-shell run-parts savelog tempfile which
|
|
'';
|
|
license = with lib.licenses; [ gpl2Plus publicDomain smail ];
|
|
mainProgram = "ischroot";
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|