nixpkgs/pkgs/development/libraries/range-v3/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

29 lines
654 B
Nix

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "range-v3";
version = "0.5.0";
src = fetchFromGitHub {
owner = "ericniebler";
repo = "range-v3";
rev = version;
sha256 = "0fzbpaa4vwlivi417zxm1d6v4lkp5c9f5bd706nn2fmw3zxjj815";
};
nativeBuildInputs = [ cmake ];
doCheck = true;
checkTarget = "test";
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Experimental range library for C++11/14/17";
homepage = https://github.com/ericniebler/range-v3;
license = licenses.boost;
platforms = platforms.all;
maintainers = with maintainers; [ xwvvvvwx ];
};
}