depot/pkgs/tools/graphics/pixel2svg/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00: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";
};
}