2015-06-08 16:17:49 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, curl, gpgme, libarchive, bzip2, lzma, attr, acl }:
|
2011-06-28 11:45:51 +02:00
|
|
|
|
2014-07-10 10:53:57 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2015-06-08 16:17:49 +02:00
|
|
|
version = "0.3.0";
|
2014-07-10 10:53:57 +02:00
|
|
|
name = "opkg-${version}";
|
2011-06-28 11:45:51 +02:00
|
|
|
src = fetchurl {
|
2014-07-10 10:53:57 +02:00
|
|
|
url = "http://downloads.yoctoproject.org/releases/opkg/opkg-${version}.tar.gz";
|
2015-06-08 16:17:49 +02:00
|
|
|
sha256 = "13wqai7lgyfjlqvly0bz786wk9frl16a9yzrn27p3wwfvcf5swvz";
|
2011-06-28 11:45:51 +02:00
|
|
|
};
|
2014-07-10 10:53:57 +02:00
|
|
|
|
2015-06-08 16:17:49 +02:00
|
|
|
buildInputs = [ pkgconfig curl gpgme libarchive bzip2 lzma attr acl ];
|
2014-07-10 10:53:57 +02:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
2011-06-28 11:45:51 +02:00
|
|
|
}
|