aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/graphics
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-10-15 07:31:08 -0500
committerGitHub <noreply@github.com>2020-10-15 07:31:08 -0500
commit74da7d5a79a021fa760378208c5cc342c07fe706 (patch)
tree6f8f170758e5f0bc129975e827435159dce8f3c8 /pkgs/tools/graphics
parent859d6d93bae93a994c3e5742091913192da8da74 (diff)
parentab8f1f32f3cc373fa98067b5b547a4379030b38c (diff)
Merge pull request #100491 from marsam/init-resvg
resvg: init at 0.11.0
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r--pkgs/tools/graphics/resvg/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/resvg/default.nix b/pkgs/tools/graphics/resvg/default.nix
new file mode 100644
index 000000000000..ea6a75eb3a55
--- /dev/null
+++ b/pkgs/tools/graphics/resvg/default.nix
@@ -0,0 +1,24 @@
+{ lib, rustPlatform, fetchFromGitHub }:
+
+rustPlatform.buildRustPackage rec {
+ pname = "resvg";
+ version = "0.11.0";
+
+ src = fetchFromGitHub {
+ owner = "RazrFalcon";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1qaca8wqwi2wqqx1yladjb4clgqdzsm8b7qsiaw0qascddjw1mcc";
+ };
+
+ cargoSha256 = "1y10xzdf5kxbi9930qfsmryrbrkx1wmc5b216l9wcxq6cd77hxy2";
+
+ doCheck = false;
+
+ meta = with lib; {
+ description = "An SVG rendering library";
+ homepage = "https://github.com/RazrFalcon/resvg";
+ license = licenses.mpl20;
+ maintainers = [ maintainers.marsam ];
+ };
+}