nixpkgs/pkgs/development/libraries/libcsptr/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
584 B
Nix
Raw Normal View History

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