summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2018-07-15 21:45:35 +0000
committerGitHub <noreply@github.com>2018-07-15 21:45:35 +0000
commitd34cc215263a5f711ccee7e49c541ac1160e86dc (patch)
tree12093ce91ecd6c75e252846ce3135b265a55b722 /pkgs/development/libraries
parentfd3942ba7bfd27a888fdfecc0a2d85faf642bd69 (diff)
parentc429142448766bfb005b77c08c6b7b46effa46de (diff)
downloadnixlib-d34cc215263a5f711ccee7e49c541ac1160e86dc.tar
nixlib-d34cc215263a5f711ccee7e49c541ac1160e86dc.tar.gz
nixlib-d34cc215263a5f711ccee7e49c541ac1160e86dc.tar.bz2
nixlib-d34cc215263a5f711ccee7e49c541ac1160e86dc.tar.lz
nixlib-d34cc215263a5f711ccee7e49c541ac1160e86dc.tar.xz
nixlib-d34cc215263a5f711ccee7e49c541ac1160e86dc.tar.zst
nixlib-d34cc215263a5f711ccee7e49c541ac1160e86dc.zip
Merge pull request #43541 from jfrankenau/update-cura
cura: 3.3.1 -> 3.4.1
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/stb/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/stb/default.nix b/pkgs/development/libraries/stb/default.nix
new file mode 100644
index 000000000000..4f36ac2ba1c7
--- /dev/null
+++ b/pkgs/development/libraries/stb/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  name = "stb-${version}";
+  version = "20180211";
+
+  src = fetchFromGitHub {
+    owner = "nothings";
+    repo = "stb";
+    rev = "e6afb9cbae4064da8c3e69af3ff5c4629579c1d2";
+    sha256 = "079nsn9bnb8c0vfq26g5l53q6gzx19a5x9q2nb55mpcljxsgxnmf";
+  };
+
+  dontBuild = true;
+
+  installPhase = ''
+    mkdir -p $out/include/stb
+    cp *.h $out/include/stb/
+  '';
+
+  meta = with stdenv.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 ];
+  };
+}