python3Packages.sss: init at 2.9.7

+75
+73
pkgs/development/python-modules/sss/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + python, 5 + sssd, 6 + 7 + # tests 8 + pytestCheckHook, 9 + }: 10 + 11 + let 12 + sssdForPython = sssd.override { 13 + python3 = python; 14 + }; 15 + in 16 + buildPythonPackage rec { 17 + pname = "sss"; 18 + inherit (sssdForPython) version; 19 + 20 + format = "other"; 21 + dontUnpack = true; 22 + dontBuild = true; 23 + 24 + dependencies = [ 25 + sssdForPython 26 + ]; 27 + 28 + installPhase = '' 29 + runHook preInstall 30 + 31 + mkdir -p $out/${python.sitePackages} 32 + 33 + cp -r ${sssdForPython}/${python.sitePackages}/SSSDConfig $out/${python.sitePackages}/ 34 + install -m 755 ${sssdForPython}/${python.sitePackages}/*.so $out/${python.sitePackages}/ 35 + 36 + runHook postInstall 37 + ''; 38 + 39 + pythonImportsCheck = [ 40 + "sssd" 41 + "pysss" 42 + "pysss_murmur" 43 + "pysss_nss_idmap" 44 + "pyhbac" 45 + "SSSDConfig" 46 + ]; 47 + 48 + nativeCheckInputs = [ 49 + pytestCheckHook 50 + ]; 51 + 52 + # No tests 53 + doCheck = false; 54 + 55 + meta = { 56 + description = "Python bindings for SSSD (System Security Services Daemon)"; 57 + longDescription = '' 58 + This package provides Python bindings for SSSD including: 59 + - sssd: SSSD Python utilities module 60 + - pysss: Core Python module for SSSD operations 61 + - pysss_murmur: MurmurHash implementation 62 + - pysss_nss_idmap: NSS ID mapping functionality 63 + - pyhbac: HBAC (Host-Based Access Control) module 64 + - SSSDConfig: Configuration management module 65 + ''; 66 + inherit (sssd.meta) 67 + homepage 68 + changelog 69 + platforms 70 + maintainers 71 + ; 72 + }; 73 + }
+2
pkgs/top-level/python-packages.nix
··· 17535 17535 17536 17536 ssort = callPackage ../development/python-modules/ssort { }; 17537 17537 17538 + sss = callPackage ../development/python-modules/sss { }; 17539 + 17538 17540 st-pages = callPackage ../development/python-modules/st-pages { }; 17539 17541 17540 17542 stable-baselines3 = callPackage ../development/python-modules/stable-baselines3 { };