mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-12 02:07:18 +00:00
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,5 +1,26 @@
|
|||||||
{ lib, stdenv, fetchFromGitLab, dpkg, gawk, perl, wget, binutils, bzip2, coreutils, util-linux
|
{ lib
|
||||||
, gnugrep, gnupg1, gnutar, gnused, gzip, xz, makeWrapper }:
|
, 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
|
# USAGE like this: debootstrap sid /tmp/target-chroot-directory
|
||||||
# There is also cdebootstrap now. Is that easier to maintain?
|
# There is also cdebootstrap now. Is that easier to maintain?
|
||||||
let binPath = lib.makeBinPath [
|
let binPath = lib.makeBinPath [
|
||||||
@ -19,14 +40,14 @@ let binPath = lib.makeBinPath [
|
|||||||
];
|
];
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "debootstrap";
|
pname = "debootstrap";
|
||||||
version = "1.0.128";
|
version = "1.0.131";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "salsa.debian.org";
|
domain = "salsa.debian.org";
|
||||||
owner = "installer-team";
|
owner = "installer-team";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-WybWWyRPreokjUAdWfZ2MUjgZhF1GTncpbLajQ3rh0E=";
|
hash = "sha256-rwNcrS2GzVs0JYxeHcpLMG9FDwSpthNmZIemn95hC6g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
@ -62,7 +83,15 @@ in stdenv.mkDerivation rec {
|
|||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script { };
|
||||||
|
tests.version = testers.testVersion {
|
||||||
|
package = debootstrap;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
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";
|
description = "Tool to create a Debian system in a chroot";
|
||||||
homepage = "https://wiki.debian.org/Debootstrap";
|
homepage = "https://wiki.debian.org/Debootstrap";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
Loading…
Reference in New Issue
Block a user