python3Packages.pysearpc: use correct Python version

This commit is contained in:
Robert Schütz 2021-12-30 17:33:20 +00:00
parent c1792db42d
commit 14ded1fd6f
2 changed files with 25 additions and 6 deletions

View File

@ -1,5 +1,12 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, python3Packages
, glib, jansson }:
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, python3
, glib
, jansson
}:
stdenv.mkDerivation rec {
version = "3.2.0";
@ -12,9 +19,19 @@ stdenv.mkDerivation rec {
sha256 = "18i5zvrp6dv6vygxx5nc93mai2p2x786n5lnf5avrin6xiz2j6hd";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = with python3Packages; [ python simplejson ];
propagatedBuildInputs = [ glib jansson ];
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
python3
];
propagatedBuildInputs = [
glib
jansson
];
meta = with lib; {
homepage = "https://github.com/haiwen/libsearpc";

View File

@ -7321,7 +7321,9 @@ in {
pysdl2 = callPackage ../development/python-modules/pysdl2 { };
pysearpc = toPythonModule pkgs.libsearpc;
pysearpc = toPythonModule (pkgs.libsearpc.override {
python3 = self.python;
});
pysecuritas = callPackage ../development/python-modules/pysecuritas { };