aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/libraries/ndn-cxx/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/libraries/ndn-cxx/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/libraries/ndn-cxx/default.nix38
1 files changed, 25 insertions, 13 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/libraries/ndn-cxx/default.nix b/infra/libkookie/nixpkgs/pkgs/development/libraries/ndn-cxx/default.nix
index d461535ecef0..893f82a6d526 100644
--- a/infra/libkookie/nixpkgs/pkgs/development/libraries/ndn-cxx/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/development/libraries/ndn-cxx/default.nix
@@ -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 ];
};
}