mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
24 lines
544 B
Nix
24 lines
544 B
Nix
{ 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;
|
|
};
|
|
}
|
|
|