Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
56 lines
997 B
Nix
56 lines
997 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
curl,
|
|
gpgme,
|
|
libarchive,
|
|
bzip2,
|
|
xz,
|
|
attr,
|
|
acl,
|
|
libxml2,
|
|
autoreconfHook,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "opkg";
|
|
version = "0.8.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://git.yoctoproject.org/opkg/snapshot/opkg-${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-3vDW6VtBBr4HTA/OWgyqDo1zfyH+Mfvu8ViFl7rTlmY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
autoreconfHook
|
|
];
|
|
|
|
buildInputs = [
|
|
curl
|
|
gpgme
|
|
libarchive
|
|
bzip2
|
|
xz
|
|
attr
|
|
acl
|
|
libxml2
|
|
];
|
|
|
|
configureFlags = [
|
|
"--sysconfdir=/etc"
|
|
"--localstatedir=/var"
|
|
];
|
|
|
|
meta = {
|
|
description = "Lightweight package management system based upon ipkg";
|
|
homepage = "https://git.yoctoproject.org/cgit/cgit.cgi/opkg/";
|
|
changelog = "https://git.yoctoproject.org/opkg/tree/CHANGELOG.md";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ pSub ];
|
|
};
|
|
})
|