Merge pull request #108259 from r-burns/pythonix
python3Packages.pythonix: 0.1.6 -> 0.1.7, fix python module
This commit is contained in:
commit
ce28a489a9
@ -1,23 +1,31 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, ninja, boost, meson, pkgconfig, nix, isPy3k }:
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, ninja, boost, meson, pkg-config, nix, isPy3k, python }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pythonix";
|
||||
version = "0.1.6";
|
||||
version = "0.1.7";
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mic92";
|
||||
repo = "pythonix";
|
||||
rev = "v${version}";
|
||||
sha256 = "1qzcrpn333hsgn6fj1m1s3cvaf0ny8qpygamcrazqv57xmwyr8h5";
|
||||
sha256 = "1wxqv3i4bva2qq9mx670bcx0g0irjn68fvk28dwvhay9ndwcspqf";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig ];
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
|
||||
buildInputs = [ nix boost ];
|
||||
|
||||
postInstall = ''
|
||||
# This is typically set by pipInstallHook/eggInstallHook,
|
||||
# so we have to do so manually when using meson
|
||||
export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "nix" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = ''
|
||||
Eval nix code from python.
|
||||
|
@ -6031,7 +6031,10 @@ in {
|
||||
|
||||
pythonIRClib = callPackage ../development/python-modules/pythonirclib { };
|
||||
|
||||
pythonix = callPackage ../development/python-modules/pythonix { inherit (pkgs) meson pkgconfig; };
|
||||
pythonix = callPackage ../development/python-modules/pythonix {
|
||||
inherit (pkgs) pkg-config;
|
||||
meson = pkgs.meson.override { python3 = self.python; };
|
||||
};
|
||||
|
||||
python-jenkins = callPackage ../development/python-modules/python-jenkins { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user