Merge pull request #164829 from r-ryantm/auto-update/python310Packages.pyclip
python310Packages.pyclip: 0.5.4 -> 0.6.0
This commit is contained in:
@@ -3,19 +3,23 @@
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, pytest
|
||||
, pythonOlder
|
||||
, xclip
|
||||
, xvfb-run
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyclip";
|
||||
version = "0.5.4";
|
||||
version = "0.6.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spyoungtech";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "19ff9cgnfx03mbmy5zpbdi986ppx38a5jf97vkqnic4g5sd1qyrn";
|
||||
hash = "sha256-NCWmCp4VGwwvubqN8FUUJ0kcZbXjOEyB6+BfGky1Kj4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -23,7 +27,12 @@ buildPythonPackage rec {
|
||||
--replace docs/README.md README.md
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest ] ++ lib.optionals stdenv.isLinux [ xclip xvfb-run ];
|
||||
checkInputs = [
|
||||
pytest
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
xclip
|
||||
xvfb-run
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
Reference in New Issue
Block a user