microsoft_gsl: init at 2017-02-13

authored by David Terry and committed by Robin Gloster 90d225db 65158542

+30
+28
pkgs/development/libraries/microsoft_gsl/default.nix
··· 1 + { stdenv, fetchgit, cmake }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "microsoft_gsl-${version}"; 5 + version = "2017-02-13"; 6 + 7 + src = fetchgit { 8 + url = "https://github.com/Microsoft/GSL.git"; 9 + rev = "3819df6e378ffccf0e29465afe99c3b324c2aa70"; 10 + sha256 = "03d17mnx6n175aakin313308q14wzvaa9pd0m1yfk6ckhha4qf35"; 11 + }; 12 + 13 + # build phase just runs the unit tests 14 + buildInputs = [ cmake ]; 15 + 16 + installPhase = '' 17 + mkdir -p $out/include 18 + mv ../include/ $out/ 19 + ''; 20 + 21 + meta = with stdenv.lib; { 22 + description = "Functions and types that are suggested for use by the C++ Core Guidelines"; 23 + homepage = https://github.com/Microsoft/GSL; 24 + license = licenses.mit; 25 + platforms = platforms.all; 26 + maintainers = with maintainers; [ xwvvvvwx ]; 27 + }; 28 + }
+2
pkgs/top-level/all-packages.nix
··· 8826 8826 8827 8827 mhddfs = callPackage ../tools/filesystems/mhddfs { }; 8828 8828 8829 + microsoft_gsl = callPackage ../development/libraries/microsoft_gsl { }; 8830 + 8829 8831 minizip = callPackage ../development/libraries/minizip { }; 8830 8832 8831 8833 miro = callPackage ../applications/video/miro {