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 nativeBuildInputs = [ cmake catch ];
16
17 meta = with stdenv.lib; {
18 homepage = https://github.com/Microsoft/GSL;
19 description = "C++ Core Guideline support library";
20 longDescription = ''
21 The Guideline Support Library (GSL) contains functions and types that are suggested for
22 use by the C++ Core Guidelines maintained by the Standard C++ Foundation.
23 This package contains Microsoft's implementation of GSL.
24 '';
25 platforms = stdenv.lib.platforms.unix;
26 license = licenses.mit;
27 maintainers = with maintainers; [ yuriaisaka ];
28 };
29}