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

21 lines
677 B
Nix
Raw Normal View History

2015-06-08 16:17:49 +02:00
{ stdenv, fetchurl, pkgconfig, curl, gpgme, libarchive, bzip2, lzma, attr, acl }:
stdenv.mkDerivation rec {
2015-06-08 16:17:49 +02:00
version = "0.3.0";
name = "opkg-${version}";
src = fetchurl {
url = "http://downloads.yoctoproject.org/releases/opkg/opkg-${version}.tar.gz";
2015-06-08 16:17:49 +02:00
sha256 = "13wqai7lgyfjlqvly0bz786wk9frl16a9yzrn27p3wwfvcf5swvz";
};
2015-06-08 16:17:49 +02:00
buildInputs = [ pkgconfig curl gpgme libarchive bzip2 lzma attr acl ];
meta = with stdenv.lib; {
description = "A lightweight package management system based upon ipkg";
homepage = http://code.google.com/p/opkg/;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}