about summary refs log tree commit diff
path: root/pkgs/tools/graphics/svgcleaner
diff options
context:
space:
mode:
authoryuu <yuuyin@protonmail.com>2022-04-05 16:01:02 -0300
committerehmry <ehmry@posteo.net>2022-04-29 09:32:19 -0500
commit7c345d198056af3519bb0c0d7116cea5e86b70f1 (patch)
treee4f481e311eeae32edabab674f810fd49f37db82 /pkgs/tools/graphics/svgcleaner
parent59f3930d7341f2d94cfa0900a4a5123a9c4a631f (diff)
svgcleaner: init at unstable-2021-08-30
Diffstat (limited to 'pkgs/tools/graphics/svgcleaner')
-rw-r--r--pkgs/tools/graphics/svgcleaner/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/svgcleaner/default.nix b/pkgs/tools/graphics/svgcleaner/default.nix
new file mode 100644
index 0000000000000..c2938a69b57ac
--- /dev/null
+++ b/pkgs/tools/graphics/svgcleaner/default.nix
@@ -0,0 +1,26 @@
+{ lib
+, rustPlatform
+, fetchFromGitHub
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "SVGCleaner";
+  version = "unstable-2021-08-30";
+
+  src = fetchFromGitHub {
+    owner = "RazrFalcon";
+    repo = pname;
+    rev = "575eac74400a5ac45c912b144f0c002aa4a0135f";
+    sha256 = "sha256-pRDRRVb8Lyna8X/PEjS9tS5dbG4g7vyMCU5AqPlpxec=";
+  };
+
+  cargoSha256 = "sha256-SZWmJGiCc/FevxMWJpa8xKVz/rbll52oNbFtqPpz74g=";
+
+  meta = with lib; {
+    description = "Clean and optimize SVG files from unnecessary data";
+    homepage = "https://github.com/RazrFalcon/SVGCleaner";
+    changelog = "https://github.com/RazrFalcon/svgcleaner/releases";
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ yuu ];
+  };
+}