My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/libraries/stb/default.nix

28 lines
679 B

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "stb";
version = "unstable-2021-09-10";
src = fetchFromGitHub {
owner = "nothings";
repo = "stb";
rev = "af1a5bc352164740c1cc1354942b1c6b72eacb8a";
sha256 = "0qq35cd747lll4s7bmnxb3pqvyp2hgcr9kyf758fax9lx76iwjhr";
};
dontBuild = true;
installPhase = ''
mkdir -p $out/include/stb
cp *.h $out/include/stb/
'';
meta = with lib; {
description = "Single-file public domain libraries for C/C++";
homepage = "https://github.com/nothings/stb";
license = licenses.publicDomain;
platforms = platforms.all;
maintainers = with maintainers; [ jfrankenau ];
};
}