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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
766 B
Nix
Raw Normal View History

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