python3Packages.pysearpc: use correct Python version
This commit is contained in:
parent
c1792db42d
commit
14ded1fd6f
|
@ -1,5 +1,12 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, python3Packages
|
{ lib
|
||||||
, glib, jansson }:
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
|
, pkg-config
|
||||||
|
, python3
|
||||||
|
, glib
|
||||||
|
, jansson
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "3.2.0";
|
version = "3.2.0";
|
||||||
|
@ -12,9 +19,19 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "18i5zvrp6dv6vygxx5nc93mai2p2x786n5lnf5avrin6xiz2j6hd";
|
sha256 = "18i5zvrp6dv6vygxx5nc93mai2p2x786n5lnf5avrin6xiz2j6hd";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [
|
||||||
buildInputs = with python3Packages; [ python simplejson ];
|
autoreconfHook
|
||||||
propagatedBuildInputs = [ glib jansson ];
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
python3
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
glib
|
||||||
|
jansson
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/haiwen/libsearpc";
|
homepage = "https://github.com/haiwen/libsearpc";
|
||||||
|
|
|
@ -7321,7 +7321,9 @@ in {
|
||||||
|
|
||||||
pysdl2 = callPackage ../development/python-modules/pysdl2 { };
|
pysdl2 = callPackage ../development/python-modules/pysdl2 { };
|
||||||
|
|
||||||
pysearpc = toPythonModule pkgs.libsearpc;
|
pysearpc = toPythonModule (pkgs.libsearpc.override {
|
||||||
|
python3 = self.python;
|
||||||
|
});
|
||||||
|
|
||||||
pysecuritas = callPackage ../development/python-modules/pysecuritas { };
|
pysecuritas = callPackage ../development/python-modules/pysecuritas { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue