nixpkgs/pkgs/tools/package-management/microdnf/default.nix

25 lines
767 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, gettext, libdnf, pkg-config, glib, libpeas, libsmartcols, help2man }:
2020-12-22 23:48:59 +00:00
stdenv.mkDerivation rec {
pname = "microdnf";
version = "3.6.0";
src = fetchFromGitHub {
owner = "rpm-software-management";
repo = pname;
rev = version;
sha256 = "0a7lc3qsnblvznzsz3544l3n84184xi85zf7c3m3jhnmpmxsg39h";
};
nativeBuildInputs = [ pkg-config cmake gettext help2man ];
buildInputs = [ libdnf glib libpeas libsmartcols ];
meta = with lib; {
2020-12-22 23:48:59 +00:00
description = "Lightweight implementation of dnf in C";
homepage = "https://github.com/rpm-software-management/microdnf";
license = licenses.gpl2Plus;
2021-01-15 09:19:50 +00:00
maintainers = with lib.maintainers; [ rb2k ];
2020-12-22 23:48:59 +00:00
platforms = platforms.linux ++ platforms.darwin;
};
}