2021-04-05 15:23:46 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, curl, gpgme, libarchive, bzip2, xz, attr, acl, libxml2
|
2020-04-24 23:36:52 +00:00
|
|
|
, autoreconfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.6.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "opkg";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://downloads.yoctoproject.org/releases/opkg/opkg-${version}.tar.gz";
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-VoRHIu/yN9rxSqbmgUNvMkUhPFWQ7QzaN6ed9jf/Okw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2021-04-05 15:23:46 +00:00
|
|
|
buildInputs = [ curl gpgme libarchive bzip2 xz attr acl libxml2 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A lightweight package management system based upon ipkg";
|
|
|
|
homepage = "https://git.yoctoproject.org/cgit/cgit.cgi/opkg/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|