2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2018-07-12 18:03:05 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "libcsptr";
|
2018-07-12 18:03:05 +02:00
|
|
|
version = "2.0.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Snaipe";
|
|
|
|
repo = "libcsptr";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0i1498h2i6zq3fn3zf3iw7glv6brn597165hnibgwccqa8sh3ich";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2018-07-12 18:03:05 +02:00
|
|
|
description = "Smart pointer constructs for the (GNU) C programming language";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/Snaipe/libcsptr";
|
2018-07-12 18:03:05 +02:00
|
|
|
license = licenses.mit;
|
2021-03-11 19:03:44 +01:00
|
|
|
platforms = platforms.all;
|
2018-07-12 18:03:05 +02:00
|
|
|
maintainers = [ maintainers.fragamus ];
|
|
|
|
};
|
|
|
|
}
|