span-lite: init at 0.10.3

This commit is contained in:
Robin Appelman 2023-02-21 21:00:53 +01:00
parent ffdae3d386
commit 0f74c64322
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ 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;
};
}

View file

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