Merge pull request #254123 from nbraud/nixpkgs-update/nicoo
Set `passthru.updateScript` for nicoo's packages
This commit is contained in:
@@ -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,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";
|
||||
|
||||
Reference in New Issue
Block a user