summary refs log tree commit diff
path: root/pkgs/development/libraries/libcsptr
diff options
context:
space:
mode:
authorMichael Gough <innovative.engineer@gmail.com>2018-07-12 16:03:05 +0000
committerMichael Gough <innovative.engineer@gmail.com>2018-07-12 16:03:05 +0000
commit517c29935b6e4dec12571e7d101e2b0da220263d (patch)
treea23f39d5de6db83b30ea357f7d9b8263431358c4 /pkgs/development/libraries/libcsptr
parent14a9ca27e69e33ac8ffb708de08883f8079f954a (diff)
downloadnixpkgs-517c29935b6e4dec12571e7d101e2b0da220263d.tar
nixpkgs-517c29935b6e4dec12571e7d101e2b0da220263d.tar.gz
nixpkgs-517c29935b6e4dec12571e7d101e2b0da220263d.tar.bz2
nixpkgs-517c29935b6e4dec12571e7d101e2b0da220263d.tar.lz
nixpkgs-517c29935b6e4dec12571e7d101e2b0da220263d.tar.xz
nixpkgs-517c29935b6e4dec12571e7d101e2b0da220263d.tar.zst
nixpkgs-517c29935b6e4dec12571e7d101e2b0da220263d.zip
libcsptr: init at 2.0.4
Diffstat (limited to 'pkgs/development/libraries/libcsptr')
-rw-r--r--pkgs/development/libraries/libcsptr/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libcsptr/default.nix b/pkgs/development/libraries/libcsptr/default.nix
new file mode 100644
index 00000000000..d7638dd2059
--- /dev/null
+++ b/pkgs/development/libraries/libcsptr/default.nix
@@ -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 ];
+  };
+}