mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 20:14:37 +00:00
ndn-cxx: 0.6.3 -> 0.7.1
This commit is contained in:
parent
36758a34a8
commit
ec4c848751
@ -1,24 +1,36 @@
|
|||||||
{ stdenv, fetchFromGitHub, openssl, doxygen
|
{ stdenv
|
||||||
, boost, sqlite, pkgconfig, python, pythonPackages, wafHook }:
|
, fetchFromGitHub
|
||||||
let
|
, doxygen
|
||||||
version = "0.6.3";
|
, pkg-config
|
||||||
in
|
, python3
|
||||||
stdenv.mkDerivation {
|
, python3Packages
|
||||||
|
, wafHook
|
||||||
|
, boost
|
||||||
|
, openssl
|
||||||
|
, sqlite
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
pname = "ndn-cxx";
|
pname = "ndn-cxx";
|
||||||
inherit version;
|
version = "0.7.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "named-data";
|
owner = "named-data";
|
||||||
repo = "ndn-cxx";
|
repo = "ndn-cxx";
|
||||||
rev = "a3bf4319ed483a4a6fe2c96b79ec4491d7217f00";
|
rev = "${pname}-${version}";
|
||||||
sha256 = "076jhrjigisqz5n8dgxwd5fhimg69zhm834m7w9yvf9afgzrr50h";
|
sha256 = "1lcaqc79n3d9sip7knddblba17sz18b0w7nlxmj3fz3lb3z9qd51";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ pkgconfig wafHook ];
|
|
||||||
buildInputs = [ openssl doxygen boost sqlite python pythonPackages.sphinx];
|
nativeBuildInputs = [ doxygen pkg-config python3 python3Packages.sphinx wafHook ];
|
||||||
|
|
||||||
|
buildInputs = [ boost openssl sqlite ];
|
||||||
|
|
||||||
wafConfigureFlags = [
|
wafConfigureFlags = [
|
||||||
"--with-openssl=${openssl.dev}"
|
"--with-openssl=${openssl.dev}"
|
||||||
"--boost-includes=${boost.dev}/include"
|
"--boost-includes=${boost.dev}/include"
|
||||||
"--boost-libs=${boost.out}/lib"
|
"--boost-libs=${boost.out}/lib"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://named-data.net/";
|
homepage = "http://named-data.net/";
|
||||||
description = "A Named Data Neworking (NDN) or Content Centric Networking (CCN) abstraction";
|
description = "A Named Data Neworking (NDN) or Content Centric Networking (CCN) abstraction";
|
||||||
@ -36,7 +48,7 @@ stdenv.mkDerivation {
|
|||||||
and consuming less resources overall.
|
and consuming less resources overall.
|
||||||
'';
|
'';
|
||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3;
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = [ maintainers.sjmackenzie ];
|
maintainers = with maintainers; [ sjmackenzie ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user