12 , gobject-introspection
41 stdenv.mkDerivation rec {
45 outputs = [ "out" "dev" "man" "devdoc" ];
48 url = "https://github.com/coreos/${pname}/releases/download/v${version}/${pname}-${version}.tar.xz";
49 sha256 = "sha256-3lU+Xmfyjs6AFnf+vE5xMSAntRoNeHBVrOJZLvv1YyY=";
87 # libdnf # vendored unstable branch
88 # required by vendored libdnf
92 util-linux # for smartcols.pc
99 "--with-bubblewrap=${bubblewrap}/bin/bwrap"
102 dontUseCmakeConfigure = true;
105 # According to #cmake on freenode, libdnf should bundle the FindLibSolv.cmake module
106 cp ${libsolv}/share/cmake/Modules/FindLibSolv.cmake libdnf/cmake/modules/
108 # Let's not hardcode the rpm-gpg path...
109 substituteInPlace libdnf/libdnf/dnf-keyring.cpp \
110 --replace '"/etc/pki/rpm-gpg"' 'getenv("LIBDNF_RPM_GPG_PATH_OVERRIDE") ? getenv("LIBDNF_RPM_GPG_PATH_OVERRIDE") : "/etc/pki/rpm-gpg"'
114 env NOCONFIGURE=1 ./autogen.sh
118 description = "A hybrid image/package system. It uses OSTree as an image format, and uses RPM as a component model";
119 homepage = "https://coreos.github.io/rpm-ostree/";
120 license = licenses.lgpl2Plus;
121 maintainers = with maintainers; [ copumpkin ];
122 platforms = platforms.linux;