diff options
author | Pavol Rusnak <pavol@rusnak.io> | 2020-10-31 18:02:42 +0100 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2020-11-01 10:51:13 -0800 |
commit | ec4c848751339ba0d0694bdd1bd356d665f6c09d (patch) | |
tree | 7008a3a0555effdf367030590b3768dff1e97ba0 /pkgs/development/libraries/ndn-cxx | |
parent | 36758a34a8d754b20d931e48e070aae5b4a7a786 (diff) |
ndn-cxx: 0.6.3 -> 0.7.1
Diffstat (limited to 'pkgs/development/libraries/ndn-cxx')
-rw-r--r-- | pkgs/development/libraries/ndn-cxx/default.nix | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/pkgs/development/libraries/ndn-cxx/default.nix b/pkgs/development/libraries/ndn-cxx/default.nix index d461535ecef0c..893f82a6d5264 100644 --- a/pkgs/development/libraries/ndn-cxx/default.nix +++ b/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 ]; }; } |