commit
5d91721366
@ -0,0 +1,38 @@ |
||||
{ lib, fetchFromGitHub, fetchpatch, buildGoModule, testers, temporal-cli }: |
||||
|
||||
buildGoModule rec { |
||||
pname = "temporal-cli"; |
||||
version = "1.16.1"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "temporalio"; |
||||
repo = "tctl"; |
||||
rev = "v${version}"; |
||||
sha256 = "sha256-WNdu/62/VmxTmzAvzx3zIlcAAlEmpN0yKzQOSUtrL8s="; |
||||
}; |
||||
|
||||
patches = [ |
||||
# Fix tests |
||||
(fetchpatch { |
||||
name = "fix-tests.patch"; |
||||
url = "https://github.com/temporalio/tctl/pull/203/commits/2b113da137a3a925e8fbd7c18bdaaefc31397db4.patch"; |
||||
sha256 = "sha256-HFPwbmLZ2uPHzaHvYoB4MTZvMVyzvUKggA76/bh50DQ="; |
||||
}) |
||||
]; |
||||
|
||||
vendorSha256 = "sha256-WF3T+HNisfR0JoKkHCC77kmHmsGZ9NfQ7UCwOmpCG/o="; |
||||
|
||||
ldflags = [ "-s" "-w" ]; |
||||
|
||||
passthru.tests.version = testers.testVersion { |
||||
package = temporal-cli; |
||||
}; |
||||
|
||||
meta = with lib; { |
||||
description = "Temporal CLI"; |
||||
homepage = "https://temporal.io"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ aaronjheng ]; |
||||
mainProgram = "tctl"; |
||||
}; |
||||
} |
@ -0,0 +1,11 @@ |
||||
--- a/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp
|
||||
+++ b/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp
|
||||
@@ -89,7 +89,7 @@
|
||||
#if PLATFORM(WAYLAND)
|
||||
if (WebCore::PlatformDisplay::sharedDisplay().type() == WebCore::PlatformDisplay::Type::Wayland) {
|
||||
#if USE(WPE_RENDERER)
|
||||
- wpe_loader_init("libWPEBackend-fdo-1.0.so.1");
|
||||
+ wpe_loader_init("@wpebackend_fdo@/lib/libWPEBackend-fdo-1.0.so.1");
|
||||
if (AcceleratedBackingStoreWayland::checkRequirements()) {
|
||||
parameters.hostClientFileDescriptor = IPC::Attachment(UnixFileDescriptor(wpe_renderer_host_create_client(), UnixFileDescriptor::Adopt));
|
||||
parameters.implementationLibraryName = FileSystem::fileSystemRepresentation(String::fromLatin1(wpe_loader_get_loaded_implementation_library_name()));
|
@ -1,24 +1,41 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchurl |
||||
, fetchFromGitHub |
||||
, pytestCheckHook |
||||
, pythonOlder |
||||
, six |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "mox"; |
||||
version = "0.5.3"; |
||||
version = "0.7.8"; |
||||
format = "setuptools"; |
||||
|
||||
src = fetchurl { |
||||
url = "http://pymox.googlecode.com/files/${pname}-${version}.tar.gz"; |
||||
sha256 = "4d18a4577d14da13d032be21cbdfceed302171c275b72adaa4c5997d589a5030"; |
||||
disabled = pythonOlder "3.7"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "ivancrneto"; |
||||
repo = "pymox"; |
||||
rev = "v${version}"; |
||||
hash = "sha256-gODE9IGDk3WtO8iPOlp98fGp6Ih2laA3YlOHmq62m8Y="; |
||||
}; |
||||
|
||||
# error: invalid command 'test' |
||||
doCheck = false; |
||||
propagatedBuildInputs = [ |
||||
six |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
pytestCheckHook |
||||
]; |
||||
|
||||
pythonImportsCheck = [ |
||||
"mox" |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://pymox.readthedocs.io/"; |
||||
description = "A mock object framework for Python"; |
||||
description = "Mock object framework"; |
||||
homepage = "https://github.com/ivancrneto/pymox"; |
||||
license = licenses.asl20; |
||||
maintainers = with maintainers; [ ]; |
||||
}; |
||||
|
||||
} |
||||
|
Loading…
Reference in new issue