depot/third_party/nixpkgs/pkgs/development/libraries/nanosvg/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

24 lines
616 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, unstableGitUpdater }:
stdenv.mkDerivation {
pname = "nanosvg";
version = "0-unstable-2023-12-30";
src = fetchFromGitHub {
owner = "memononen";
repo = "nanosvg";
rev = "93ce879dc4c04a3ef1758428ec80083c38610b1f";
hash = "sha256-ZtenaXJqMZr2+BxYENG1zUoQ+Qoxlxy0m/1YfJBKAFk=";
};
nativeBuildInputs = [ cmake ];
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "Simple stupid SVG parser";
homepage = "https://github.com/memononen/nanosvg";
license = licenses.zlib;
platforms = platforms.all;
};
}