about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/metal/default.nix
blob: 18b1f116b876ddc8379ffdc8234d6ffb4b2e9fe0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
  pname = "metal";
  version = "2.1.1";

  src = fetchFromGitHub {
    owner = "brunocodutra";
    repo = "metal";
    rev = "v${version}";
    sha256 = "07n1aqyaixbd66l24km5ip3pkmidkx9m3saygf7cfp6vvbgmi42l";
  };

  nativeBuildInputs = [ cmake ];

  meta = with lib; {
    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;
  };

}