debootstrap: 1.0.128 -> 1.0.131

This commit is contained in:
Anthony Roussel 2023-08-24 23:31:02 +02:00
parent ac7ed741a5
commit 64d24f8fb5
No known key found for this signature in database
GPG key ID: 9DC4987B1A55E75E

View file

@ -1,5 +1,26 @@
{ lib, stdenv, fetchFromGitLab, dpkg, gawk, perl, wget, binutils, bzip2, coreutils, util-linux
, gnugrep, gnupg1, gnutar, gnused, gzip, xz, makeWrapper }:
{ lib
, stdenv
, fetchFromGitLab
, dpkg
, gawk
, perl
, wget
, binutils
, bzip2
, coreutils
, util-linux
, gnugrep
, gnupg1
, gnutar
, gnused
, gzip
, xz
, makeWrapper
, nix-update-script
, testers
, debootstrap
}:
# USAGE like this: debootstrap sid /tmp/target-chroot-directory
# There is also cdebootstrap now. Is that easier to maintain?
let binPath = lib.makeBinPath [
@ -19,14 +40,14 @@ let binPath = lib.makeBinPath [
];
in stdenv.mkDerivation rec {
pname = "debootstrap";
version = "1.0.128";
version = "1.0.131";
src = fetchFromGitLab {
domain = "salsa.debian.org";
owner = "installer-team";
repo = pname;
rev = version;
sha256 = "sha256-WybWWyRPreokjUAdWfZ2MUjgZhF1GTncpbLajQ3rh0E=";
rev = "refs/tags/${version}";
hash = "sha256-rwNcrS2GzVs0JYxeHcpLMG9FDwSpthNmZIemn95hC6g=";
};
nativeBuildInputs = [ makeWrapper ];
@ -62,7 +83,15 @@ in stdenv.mkDerivation rec {
runHook postInstall
'';
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion {
package = debootstrap;
};
};
meta = with lib; {
changelog = "https://salsa.debian.org/installer-team/debootstrap/-/blob/${version}/debian/changelog";
description = "Tool to create a Debian system in a chroot";
homepage = "https://wiki.debian.org/Debootstrap";
license = licenses.mit;