Merge pull request #210533 from wegank/posix-ipc-source

python3Packages.posix_ipc: fix source
This commit is contained in:
Nick Cao 2023-01-16 15:04:21 +08:00 committed by GitHub
commit 05cbcd8653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pythonOlder
}:
@ -11,9 +11,11 @@ buildPythonPackage rec {
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-4kVroM+y7luhQSFFDo2CWzxKFGH8oHYSIKq2bUERy7c=";
src = fetchFromGitHub {
owner = "osvenskan";
repo = "posix_ipc";
rev = "rel${version}";
hash = "sha256-xK5CkThqVFVMIxBtgUfHIRNRfmBxKa/DWBYQg7QHl/M=";
};
pythonImportsCheckHook = [