python3Packages.mss: init at 6.0.0

This commit is contained in:
Austin Butler 2020-09-26 18:33:49 -07:00 committed by Jon
parent 40efae06a7
commit af2dc4d401
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k }:
buildPythonPackage rec {
pname = "mss";
version = "6.0.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0dicp55adbqxb7hqlck95hngb1klv5s26lszw3xim30k18bwqaxl";
};
propagatedBuildInputs = [ ];
# By default it attempts to build Windows-only functionality
prePatch = ''
rm mss/windows.py
'';
# Skipping tests due to most relying on DISPLAY being set
pythonImportsCheck = [ "mss" ];
meta = with lib; {
description = "Cross-platform multiple screenshots module in pure Python";
homepage = "https://github.com/BoboTiG/mss/";
license = licenses.mit;
maintainers = with maintainers; [ austinbutler ];
};
}

View file

@ -3815,6 +3815,8 @@ in {
msgpack-numpy = callPackage ../development/python-modules/msgpack-numpy { };
mss = callPackage ../development/python-modules/mss { };
msrestazure = callPackage ../development/python-modules/msrestazure { };
msrest = callPackage ../development/python-modules/msrest { };