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