depot/third_party/nixpkgs/pkgs/tools/package-management/microdnf/default.nix
Default email 7bc014aa9c Project import generated by Copybara.
GitOrigin-RevId: c97e777ff06fcb8d37dcdf5e21e9eff1f34f0e90
2022-09-11 12:47:08 -03:00

24 lines
766 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, gettext, libdnf, pkg-config, glib, libpeas, libsmartcols, help2man }:
stdenv.mkDerivation rec {
pname = "microdnf";
version = "3.9.1";
src = fetchFromGitHub {
owner = "rpm-software-management";
repo = pname;
rev = version;
sha256 = "sha256-/6yMHjB9HNEEQuAc8zEvmjjl6wur0jByS1hLz39+rHI=";
};
nativeBuildInputs = [ pkg-config cmake gettext help2man ];
buildInputs = [ libdnf glib libpeas libsmartcols ];
meta = with lib; {
description = "Lightweight implementation of dnf in C";
homepage = "https://github.com/rpm-software-management/microdnf";
license = licenses.gpl2Plus;
maintainers = with lib.maintainers; [ rb2k ];
platforms = platforms.linux ++ platforms.darwin;
};
}