nixpkgs/pkgs/development/libraries/metal/default.nix

24 lines
609 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake }:
2020-04-11 06:50:22 +00:00
stdenv.mkDerivation rec {
pname = "metal";
2021-02-09 12:41:09 +00:00
version = "2.1.2";
2020-04-11 06:50:22 +00:00
src = fetchFromGitHub {
owner = "brunocodutra";
repo = "metal";
rev = "v${version}";
2021-02-09 12:41:09 +00:00
sha256 = "sha256-1I+EZtIz/2y4+dJGBONhTlUQGHgRdvXc1ZAOC9pmStw=";
2020-04-11 06:50:22 +00:00
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
2020-04-11 06:50:22 +00:00
description = "Single-header C++11 library designed to make you love template metaprogramming";
homepage = "https://github.com/brunocodutra/metal";
license = licenses.mit;
maintainers = with maintainers; [ pmiddend ];
2021-03-12 05:24:31 +00:00
platforms = platforms.all;
2020-04-11 06:50:22 +00:00
};
}