nixpkgs-suyu/pkgs/development/python-modules/cairosvg/default.nix

20 lines
452 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, cairocffi }:
buildPythonPackage rec {
pname = "cairosvg";
2018-04-04 20:02:56 +02:00
version = "2.1.3";
src = fetchPypi {
inherit pname version;
2018-04-04 20:02:56 +02:00
sha256 = "0b334f4ec436d78ecbc934c652f961a73a27d770f1133082cac265afab3dd64a";
};
propagatedBuildInputs = [ cairocffi ];
meta = with stdenv.lib; {
homepage = https://cairosvg.org;
license = licenses.lgpl3;
description = "SVG converter based on Cairo";
};
}