Commit 6eeabf92 authored by VZstless's avatar VZstless
Browse files

apt: 3.1.15 -> 3.1.16, add update script

parent a8526804
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -30,18 +30,19 @@
  zstd,
  withDocs ? true,
  withNLS ? true,
  nix-update-script,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "apt";
  version = "3.1.15";
  version = "3.1.16";

  src = fetchFromGitLab {
    domain = "salsa.debian.org";
    owner = "apt-team";
    repo = "apt";
    rev = finalAttrs.version;
    hash = "sha256-PnI7Ggqc/Go5p+eXf93d5qhG61TKO2/8ZSjML37pyzY=";
    hash = "sha256-4n7QocfpAlDtJGpswV0LtwzWV1xtr7dLuLvAF5kBbAk=";
  };

  # cycle detection; lib can't be split
@@ -101,13 +102,15 @@ stdenv.mkDerivation (finalAttrs: {
    (lib.cmakeBool "WITH_DOC" withDocs)
  ];

  passthru.updateScript = nix-update-script { };

  meta = {
    homepage = "https://salsa.debian.org/apt-team/apt";
    description = "Command-line package management tools used on Debian-based systems";
    changelog = "https://salsa.debian.org/apt-team/apt/-/raw/${finalAttrs.version}/debian/changelog";
    license = with lib.licenses; [ gpl2Plus ];
    mainProgram = "apt";
    maintainers = [ ];
    maintainers = with lib.maintainers; [ VZstless ];
    platforms = lib.platforms.linux;
  };
})