From 997bf2c6657217481701bd2519b6aae9508ae6a9 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Wed, 4 Nov 2015 23:07:26 +0300 Subject: [PATCH] vc: init at 0.7.5, 1.0.0 --- pkgs/development/libraries/vc/0.7.nix | 25 +++++++++++++++++++++++ pkgs/development/libraries/vc/default.nix | 25 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 3 files changed, 54 insertions(+) create mode 100644 pkgs/development/libraries/vc/0.7.nix create mode 100644 pkgs/development/libraries/vc/default.nix diff --git a/pkgs/development/libraries/vc/0.7.nix b/pkgs/development/libraries/vc/0.7.nix new file mode 100644 index 000000000000..932b7f50f351 --- /dev/null +++ b/pkgs/development/libraries/vc/0.7.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, cmake }: + +stdenv.mkDerivation rec { + version = "0.7.5"; + name = "Vc-${version}"; + + src = fetchFromGitHub { + owner = "VcDevel"; + repo = "Vc"; + rev = version; + sha256 = "190s4r2n3jsivl4j2m288j3rqmgjj6gl308hi9mzwyhcfn17q8br"; + }; + + nativeBuildInputs = [ cmake ]; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + description = "Library for multiprecision complex arithmetic with exact rounding"; + homepage = https://github.com/VcDevel/Vc; + license = licences.bsd3; + platforms = platforms.all; + maintainers = with maintainers; [ abbradar ]; + }; +} diff --git a/pkgs/development/libraries/vc/default.nix b/pkgs/development/libraries/vc/default.nix new file mode 100644 index 000000000000..b019ad63cdf2 --- /dev/null +++ b/pkgs/development/libraries/vc/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, cmake }: + +stdenv.mkDerivation rec { + version = "1.0.0"; + name = "Vc-${version}"; + + src = fetchFromGitHub { + owner = "VcDevel"; + repo = "Vc"; + rev = version; + sha256 = "014li9kcbbxinh9r1nngdzspjzs2nxwslcknd950msjkqgnjhz4r"; + }; + + nativeBuildInputs = [ cmake ]; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + description = "Library for multiprecision complex arithmetic with exact rounding"; + homepage = https://github.com/VcDevel/Vc; + license = licences.bsd3; + platforms = platforms.all; + maintainers = with maintainers; [ abbradar ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index eb0dc02f1073..9aca437fb43c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8433,6 +8433,10 @@ let vamp = callPackage ../development/libraries/audio/vamp { }; + vc = callPackage ../development/libraries/vc { }; + + vc_0_7 = callPackage ../development/libraries/vc/0.7.nix { }; + vcdimager = callPackage ../development/libraries/vcdimager { }; vid-stab = callPackage ../development/libraries/vid-stab { };