Merge pull request #251235 from anthonyroussel/debootstrap_1_0_131
debootstrap: 1.0.128 -> 1.0.131
This commit is contained in:
commit
f2b2d18f0a
1 changed files with 34 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue