Commit 0f74c643 authored by Robin Appelman's avatar Robin Appelman
Browse files

span-lite: init at 0.10.3

parent ffdae3d3
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:

stdenv.mkDerivation rec {
  pname = "span-lite";
  version = "0.10.3";

  src = fetchFromGitHub {
    owner = "martinmoene";
    repo = "span-lite";
    rev = "v${version}";
    hash = "sha256-WfoyyPLBqXSGGATWN/wny6P++3aCmQMOMLCARhB+R3c=";
  };

  nativeBuildInputs = [
    cmake
  ];

  meta = {
    description = "A C++20-like span for C++98, C++11 and later in a single-file header-only library";
    homepage = "https://github.com/martinmoene/span-lite";
    license = lib.licenses.bsd1;
    maintainers = with lib.maintainers; [ icewind1991 ];
    platforms = lib.platforms.all;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -23360,6 +23360,8 @@ with pkgs;
  soundtouch = callPackage ../development/libraries/soundtouch {};
  span-lite = callPackage ../development/libraries/span-lite { };
  spandsp = callPackage ../development/libraries/spandsp {};
  spandsp3 = callPackage ../development/libraries/spandsp/3.nix {};