Merge pull request #254123 from nbraud/nixpkgs-update/nicoo

Set `passthru.updateScript` for nicoo's packages
This commit is contained in:
Weijia Wang
2023-09-09 21:34:28 +02:00
committed by GitHub
3 changed files with 9 additions and 1 deletions
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, nix-update-script
, pysimplesoap
, pytest , pytest-xdist
, pythonOlder
@@ -13,6 +14,7 @@ buildPythonPackage rec {
format = "pyproject";
disabled = pythonOlder "3.7";
passthru.updateScript = nix-update-script { };
src = fetchPypi {
inherit pname version;
@@ -3,13 +3,15 @@
, fetchPypi
, buildPythonPackage
, m2crypto
, nix-update-script
}:
buildPythonPackage rec {
pname = "pysimplesoap";
# Unfortunately, the latest stable release is broken on Python 3.
version = "1.16.2";
passthru.updateScript = nix-update-script { };
src = fetchPypi {
pname = "PySimpleSOAP";
inherit version;
@@ -20,6 +22,7 @@ buildPythonPackage rec {
m2crypto
];
# Patches necessary for Python 3 compatibility plus bugfixes
patches = map (args: fetchDebianPatch ({
inherit pname version;
debianRevision = "5";
+3
View File
@@ -3,6 +3,7 @@
, fetchFromGitHub
, fetchpatch
, installShellFiles
, nix-update-script
, pam
, pandoc
, rustPlatform
@@ -72,6 +73,8 @@ rustPlatform.buildRustPackage rec {
"su::context::tests::invalid_shell"
];
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "A memory safe implementation of sudo and su.";
homepage = "https://github.com/memorysafety/sudo-rs";