Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40efae0
commit af2dc4d
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters