depot/third_party/nixpkgs/pkgs/development/libraries/libcsptr/default.nix
Default email 8ec1fd4587 Project import generated by Copybara.
GitOrigin-RevId: 266dc8c3d052f549826ba246d06787a219533b8f
2021-03-15 09:37:03 +01:00

23 lines
584 B
Nix

{ lib, 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 lib; {
description = "Smart pointer constructs for the (GNU) C programming language";
homepage = "https://github.com/Snaipe/libcsptr";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.fragamus ];
};
}