python3Packages.screeninfo: 0.8 -> 0.8.1
This commit is contained in:
parent
81e4fdbdfa
commit
358a6ead53
@ -2,25 +2,33 @@
|
||||
, lib
|
||||
, buildPythonApplication
|
||||
, dataclasses
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, libX11
|
||||
, libXinerama
|
||||
, libXrandr
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "screeninfo";
|
||||
version = "0.8";
|
||||
version = "0.8.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9501bf8b8458c7d1be4cb0ac9abddddfa80b932fb3f65bfcb54f5586434b1dc5";
|
||||
src = fetchFromGitHub {
|
||||
owner = "rr-";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-TEy4wff0eRRkX98yK9054d33Tm6G6qWrd9Iv+ITcFmA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.7") [
|
||||
dataclasses
|
||||
];
|
||||
@ -40,7 +48,7 @@ buildPythonApplication rec {
|
||||
|
||||
disabledTestPaths = [
|
||||
# We don't have a screen
|
||||
"screeninfo/test_screeninfo.py"
|
||||
"tests/test_screeninfo.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "screeninfo" ];
|
||||
|
Loading…
Reference in New Issue
Block a user