python312Packages.xeddsa: init at 1.1.0
This commit is contained in:
parent
be3cbddd94
commit
bf2d0fcde3
@ -33,7 +33,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
changelog = "https://github.com/Syndace/libxeddsa/blob/v${finalAttrs.version}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
teams = with lib.teams; [ ngi ];
|
||||
maintainers = with lib.maintainers; [ axler1 ];
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
55
pkgs/development/python-modules/xeddsa/default.nix
Normal file
55
pkgs/development/python-modules/xeddsa/default.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
cffi,
|
||||
libsodium,
|
||||
libxeddsa,
|
||||
pytestCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xeddsa";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Syndace";
|
||||
repo = "python-xeddsa";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-636zsJXD8EtLDXMIkJTON0g3sg0EPrMzcfR7SUrURac=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools<74" "setuptools"
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
buildInputs = [
|
||||
libsodium
|
||||
libxeddsa
|
||||
];
|
||||
|
||||
dependencies = [ cffi ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "xeddsa" ];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings to libxeddsa";
|
||||
homepage = "https://github.com/Syndace/python-xeddsa";
|
||||
changelog = "https://github.com/Syndace/python-xeddsa/blob/v${version}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
teams = with lib.teams; [ ngi ];
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
@ -10273,8 +10273,6 @@ with pkgs;
|
||||
};
|
||||
libxcrypt-legacy = libxcrypt.override { enableHashes = "all"; };
|
||||
|
||||
libxeddsa = callPackage ../development/libraries/libxeddsa { };
|
||||
|
||||
libxkbcommon = libxkbcommon_8;
|
||||
libxml2 = callPackage ../development/libraries/libxml2 {
|
||||
python = python3;
|
||||
|
@ -19110,6 +19110,8 @@ self: super: with self; {
|
||||
|
||||
xdxf2html = callPackage ../development/python-modules/xdxf2html { };
|
||||
|
||||
xeddsa = toPythonModule (callPackage ../development/python-modules/xeddsa { });
|
||||
|
||||
xen = toPythonModule (pkgs.xen.override { python3Packages = self; });
|
||||
|
||||
xformers = callPackage ../development/python-modules/xformers { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user