default.nix (590B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 }: 7 8 stdenv.mkDerivation (finalAttrs: { 9 pname = "plutovg"; 10 version = "1.0.0"; 11 12 src = fetchFromGitHub { 13 owner = "sammycage"; 14 repo = "plutovg"; 15 tag = "v${finalAttrs.version}"; 16 hash = "sha256-xNWwACKGU5UIJviVZ3wU4GMuRxKn/rR8jBsZQpZiFZ8="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = { 22 description = "Tiny 2D vector graphics library in C"; 23 homepage = "https://github.com/sammycage/plutovg"; 24 license = lib.licenses.mit; 25 maintainers = [ lib.maintainers.sikmir ]; 26 platforms = lib.platforms.unix; 27 }; 28 })