34 stdenv.mkDerivation (finalAttrs: {
39 url = "mirror://debian/pool/main/a/apt/apt_${finalAttrs.version}.tar.xz";
40 hash = "sha256-9ncx162Jm4WZBYFPvtO03ic8/rhcGEUEPxR4x1LsnvQ=";
43 # cycle detection; lib can't be split
44 outputs = [ "out" "dev" "doc" "man" ];
71 ] ++ lib.optionals withDocs [
76 ] ++ lib.optionals withNLS [
81 (lib.cmakeOptionType "filepath" "BERKELEY_INCLUDE_DIRS" "${lib.getDev db}/include")
82 (lib.cmakeOptionType "filepath" "DOCBOOK_XSL""${docbook_xsl}/share/xml/docbook-xsl")
83 (lib.cmakeOptionType "filepath" "GNUTLS_INCLUDE_DIR" "${lib.getDev gnutls}/include")
84 (lib.cmakeFeature "DROOT_GROUP" "root")
85 (lib.cmakeBool "USE_NLS" withNLS)
86 (lib.cmakeBool "WITH_DOC" withDocs)
90 homepage = "https://salsa.debian.org/apt-team/apt";
91 description = "Command-line package management tools used on Debian-based systems";
92 changelog = "https://salsa.debian.org/apt-team/apt/-/raw/${finalAttrs.version}/debian/changelog";
93 license = with lib.licenses; [ gpl2Plus ];
95 maintainers = with lib.maintainers; [ ];
96 platforms = lib.platforms.linux;