at 18.09-beta 30 lines 976 B view raw
1{ stdenv, fetchFromGitHub, cmake, catch }: 2 3stdenv.mkDerivation rec { 4 pname = "GSL-unstable"; 5 version = "2017-02-15"; 6 name = "${pname}-${version}"; 7 8 src = fetchFromGitHub { 9 owner = "Microsoft"; 10 repo = "GSL"; 11 rev = "c87c123d1b3e64ae2cf725584f0c004da4d90f1c"; 12 sha256 = "0h8py468bvxnydkjs352d7a9s8hk0ihc7msjkcnzj2d7nzp5nsc1"; 13 }; 14 15 NIX_CFLAGS_COMPILE = "-Wno-error=sign-conversion"; 16 nativeBuildInputs = [ cmake catch ]; 17 18 meta = with stdenv.lib; { 19 homepage = https://github.com/Microsoft/GSL; 20 description = "C++ Core Guideline support library"; 21 longDescription = '' 22 The Guideline Support Library (GSL) contains functions and types that are suggested for 23 use by the C++ Core Guidelines maintained by the Standard C++ Foundation. 24 This package contains Microsoft's implementation of GSL. 25 ''; 26 platforms = stdenv.lib.platforms.unix; 27 license = licenses.mit; 28 maintainers = with maintainers; [ yuriaisaka ]; 29 }; 30}