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