pythonPackages.rtslib: Add patch to fix import check
This commit is contained in:
parent
af9e00071d
commit
12c2a9824a
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, buildPythonPackage, six, pyudev, pygobject3 }:
|
||||
{ lib, fetchFromGitHub, fetchpatch, buildPythonPackage, six, pyudev, pygobject3 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rtslib";
|
||||
@ -11,6 +11,14 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-qBlr4K+LeJIC6Hwy6dN9n/VjHIUYCy8pLlRtPvooWyE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# <https://github.com/open-iscsi/rtslib-fb/pull/187>
|
||||
(fetchpatch {
|
||||
url = "https://github.com/zhaofengli/rtslib-fb/commit/1c3c8257940a88e65676f4333363ddf259a06723.patch";
|
||||
sha256 = "sha256-nDzL8pUKwKIej+6rOg7Om5AkwkClKk6qKlImbpoufz4=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ six pyudev pygobject3 ];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user