2019-06-16 20:59:06 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
2018-07-12 17:03:05 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libcsptr";
|
2018-07-12 17:03:05 +01:00
|
|
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Snaipe/libcsptr";
|
2018-07-12 17:03:05 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
|
|
|
maintainers = [ maintainers.fragamus ];
|
|
|
|
};
|
|
|
|
}
|