mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
Merge pull request #240772 from fabaff/mss-bump
python311Packages.mss: 7.0.1 -> 9.0.1
This commit is contained in:
commit
6d12ac463b
@ -6,22 +6,24 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mss";
|
||||
version = "7.0.1";
|
||||
version = "9.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-8UzuUokDw7AdO48SCc1JhCL3Hj0NLZLFuTPt07l3ICI=";
|
||||
hash = "sha256-bre5AIzydCiBH6M66zXzM024Hj98wt1J7HxuWpSznxI=";
|
||||
};
|
||||
|
||||
# By default it attempts to build Windows-only functionality
|
||||
prePatch = ''
|
||||
rm mss/windows.py
|
||||
# By default it attempts to build Windows-only functionality
|
||||
rm src/mss/windows.py
|
||||
'';
|
||||
|
||||
# Skipping tests due to most relying on DISPLAY being set
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"mss"
|
||||
];
|
||||
@ -29,6 +31,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Cross-platform multiple screenshots module";
|
||||
homepage = "https://github.com/BoboTiG/python-mss";
|
||||
changelog = "https://github.com/BoboTiG/python-mss/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ austinbutler ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user