nixpkgs/pkgs/development/libraries/nanosvg/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
544 B
Nix
Raw Normal View History

2023-06-21 21:42:31 +00:00
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation {
pname = "nanosvg";
version = "unstable-2022-12-04";
src = fetchFromGitHub {
owner = "memononen";
repo = "nanosvg";
rev = "9da543e8329fdd81b64eb48742d8ccb09377aed1";
hash = "sha256-VOiN6583DtzGYPRkl19VG2QvSzl4T9HaynBuNcvZf94=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Simple stupid SVG parser";
homepage = "https://github.com/memononen/nanosvg";
license = licenses.zlib;
platforms = platforms.all;
};
}