python3Packages.nixpkgs: Fix ImportError with recent pythonix versions

This commit is contained in:
adisbladis 2019-04-10 17:46:15 +01:00
parent f15bd3cca3
commit 7bd2c5a604
No known key found for this signature in database
GPG Key ID: 110BFAD44C6249B7

View File

@ -1,5 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchpatch
, fetchPypi
, pbr
, pythonix
@ -16,6 +17,15 @@ buildPythonPackage rec {
sha256 = "0gsrd99kkv99jsrh3hckz7ns1zwndi9vvh4465v4gnpz723dd6fj";
};
patches = [
# Patch should be dropped once https://github.com/t184256/nixpkgs-python-importer/pull/7
# is merged and in a release
(fetchpatch {
url = "https://github.com/adisbladis/nixpkgs-python-importer/commit/749e05f1.patch";
sha256 = "1a72phazpqf6vf3hl3m84z9i5n6h1xpa53bqxnpsff6agxxhd21b";
})
];
buildInputs = [ pbr ];
propagatedBuildInputs = [ pythonix ];