depot/third_party/nixpkgs/pkgs/tools/graphics/pixel2svg/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

21 lines
661 B
Nix

{ lib, buildPythonPackage, fetchurl, python310Packages }:
python310Packages.buildPythonPackage rec {
pname = "pixel2svg";
version = "0.3.0";
src = fetchurl {
url = "https://static.florian-berger.de/pixel2svg-${version}.zip";
sha256 = "sha256-aqcTTmZKcdRdVd8GGz5cuaQ4gjPapVJNtiiZu22TZgQ=";
};
propagatedBuildInputs = with python310Packages; [ pillow svgwrite ];
meta = with lib; {
homepage = "https://florian-berger.de/en/software/pixel2svg/";
description = "Converts pixel art to SVG - pixel by pixel";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ annaaurora ];
mainProgram = "pixel2svg.py";
};
}