scour: call via python-packages.nix

This commit is contained in:
Frederik Rietdijk 2018-11-11 09:54:28 +01:00
parent 3c4f70996e
commit 961180afc8
3 changed files with 9 additions and 7 deletions

View File

@ -1,8 +1,6 @@
{ stdenv, python3 }: { lib, buildPythonPackage, fetchPypi, six }:
with python3.pkgs; buildPythonPackage rec {
buildPythonApplication rec {
pname = "scour"; pname = "scour";
version = "0.37"; version = "0.37";
@ -13,11 +11,13 @@ buildPythonApplication rec {
propagatedBuildInputs = [ six ]; propagatedBuildInputs = [ six ];
meta = with stdenv.lib; { # No tests included in archive
doCheck = false;
meta = with lib; {
description = "An SVG Optimizer / Cleaner "; description = "An SVG Optimizer / Cleaner ";
homepage = https://github.com/scour-project/scour; homepage = https://github.com/scour-project/scour;
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ worldofpeace ]; maintainers = with maintainers; [ worldofpeace ];
platforms = platforms.unix;
}; };
} }

View File

@ -1585,7 +1585,7 @@ with pkgs;
parallel-rust = callPackage ../tools/misc/parallel-rust { }; parallel-rust = callPackage ../tools/misc/parallel-rust { };
scour = callPackage ../tools/graphics/scour { }; scour = with python3Packages; toPythonApplication scour;
s2png = callPackage ../tools/graphics/s2png { }; s2png = callPackage ../tools/graphics/s2png { };

View File

@ -11076,6 +11076,8 @@ EOF
inherit python; inherit python;
})).python; })).python;
scour = callPackage ../development/python-modules/scour { };
}); });
in fix' (extends overrides packages) in fix' (extends overrides packages)