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