summary refs log tree commit diff
path: root/pkgs/development/libraries/libcsptr/default.nix
blob: 4bf26bde228ddda9b7babd30ca0435d7694951b7 (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
{ stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
  pname = "libcsptr";
  version = "2.0.4";

  src = fetchFromGitHub {
    owner = "Snaipe";
    repo = "libcsptr";
    rev = "v${version}";
    sha256 = "0i1498h2i6zq3fn3zf3iw7glv6brn597165hnibgwccqa8sh3ich";
  };

  nativeBuildInputs = [ cmake ];

  meta = with stdenv.lib; {
    description = "Smart pointer constructs for the (GNU) C programming language";
    homepage = https://github.com/Snaipe/libcsptr;
    license = licenses.mit;
    platforms = [ "i686-linux" "x86_64-linux" ];
    maintainers = [ maintainers.fragamus ];
  };
}