2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2020-04-11 07:50:22 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "metal";
|
|
|
|
version = "2.1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "brunocodutra";
|
|
|
|
repo = "metal";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "07n1aqyaixbd66l24km5ip3pkmidkx9m3saygf7cfp6vvbgmi42l";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-11 07:50:22 +01: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 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|