Commit 74ab1866 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.unicrypto: modernize

parent 243fb2e8
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -4,15 +4,13 @@
  fetchFromGitHub,
  pycryptodome,
  pycryptodomex,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "unicrypto";
  version = "0.0.12";
  format = "setuptools";

  disabled = pythonOlder "3.7";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "skelsec";
@@ -21,7 +19,9 @@ buildPythonPackage rec {
    hash = "sha256-RYwovFMalBNDPDEVjQ/8/N7DkOMiyeEQ5ESdgCK8RW8=";
  };

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  dependencies = [
    pycryptodome
    pycryptodomex
  ];
@@ -34,8 +34,8 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Unified interface for cryptographic libraries";
    homepage = "https://github.com/skelsec/unicrypto";
    changelog = "https://github.com/skelsec/unicrypto/releases/tag/${version}";
    license = with licenses; [ mit ];
    changelog = "https://github.com/skelsec/unicrypto/releases/tag/${src.tag}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}