1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-10 14:47:34 +00:00
nixpkgs/pkgs/development/libraries/libcsptr/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
602 B
Nix

{ 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 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 ];
};
}