Merge pull request #43385 from fragamus/libcsptr2

libcsptr: init at 2.0.4
This commit is contained in:
Pascal Wittmann 2019-05-16 15:48:32 +02:00 committed by GitHub
commit 3789eb8e3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 0 deletions

View File

@ -1737,6 +1737,13 @@
github = "fps";
name = "Florian Paul Schmidt";
};
fragamus = {
email = "innovative.engineer@gmail.com";
github = "fragamus";
name = "Michael Gough";
};
fredeb = {
email = "im@fredeb.dev";
github = "fredeeb";

View File

@ -0,0 +1,23 @@
{ stdenv, fetchFromGitHub, cmake, git }:
stdenv.mkDerivation rec {
name = "libcsptr-${version}";
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 ];
};
}

View File

@ -3977,6 +3977,8 @@ in
libcpuid = callPackage ../tools/misc/libcpuid { };
libcsptr = callPackage ../development/libraries/libcsptr { };
libscrypt = callPackage ../development/libraries/libscrypt { };
libcloudproviders = callPackage ../development/libraries/libcloudproviders { };