Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / nanosvg / default.nix
blob2033069d77e282ad73a7554e439a60b7dc84fd18
1 { lib, stdenv, fetchFromGitHub, cmake }:
3 stdenv.mkDerivation {
4   pname = "nanosvg";
5   version = "unstable-2022-12-04";
7   src = fetchFromGitHub {
8     owner = "memononen";
9     repo = "nanosvg";
10     rev = "9da543e8329fdd81b64eb48742d8ccb09377aed1";
11     hash = "sha256-VOiN6583DtzGYPRkl19VG2QvSzl4T9HaynBuNcvZf94=";
12   };
14   nativeBuildInputs = [ cmake ];
16   meta = with lib; {
17     description = "Simple stupid SVG parser";
18     homepage = "https://github.com/memononen/nanosvg";
19     license = licenses.zlib;
20     platforms = platforms.all;
21   };