pythonPackages.cairosvg: Move to own file
This commit is contained in:
parent
007525282b
commit
a8327fe5b4
19
pkgs/development/python-modules/cairosvg/default.nix
Normal file
19
pkgs/development/python-modules/cairosvg/default.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi, cairocffi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cairosvg";
|
||||||
|
version = "1.0.18";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "01lpm38qp7xlnv8jv7qg48j44p5088dwfsrcllgs5fz355lrfds1";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ cairocffi ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://cairosvg.org;
|
||||||
|
license = licenses.lgpl3;
|
||||||
|
description = "SVG converter based on Cairo";
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -1436,24 +1436,7 @@ in {
|
|||||||
|
|
||||||
cairocffi = callPackage ../development/python-modules/cairocffi {};
|
cairocffi = callPackage ../development/python-modules/cairocffi {};
|
||||||
|
|
||||||
cairosvg = buildPythonPackage rec {
|
cairosvg = callPackage ../development/python-modules/cairosvg {};
|
||||||
version = "1.0.18";
|
|
||||||
name = "cairosvg-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/C/CairoSVG/CairoSVG-${version}.tar.gz";
|
|
||||||
sha256 = "01lpm38qp7xlnv8jv7qg48j44p5088dwfsrcllgs5fz355lrfds1";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ cairocffi ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://cairosvg.org;
|
|
||||||
license = licenses.lgpl3;
|
|
||||||
description = "SVG converter based on Cairo";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
carrot = buildPythonPackage rec {
|
carrot = buildPythonPackage rec {
|
||||||
name = "carrot-0.10.7";
|
name = "carrot-0.10.7";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user