python313Packages.traits: fix build (#373698)
[NixPkgs.git] / pkgs / development / python-modules / securetar / default.nix
blob4ead74fdbf87903815df4815a6d88b89f446d2f7
2   lib,
3   buildPythonPackage,
4   cryptography,
5   fetchFromGitHub,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "securetar";
13   version = "2024.11.0";
14   pyproject = true;
16   disabled = pythonOlder "3.9";
18   src = fetchFromGitHub {
19     owner = "pvizeli";
20     repo = "securetar";
21     tag = version;
22     hash = "sha256-h0GubDuwINDNfDxBVJv74yu/OnzMasq5f0lPoIrNNCA=";
23   };
25   build-system = [ setuptools ];
27   dependencies = [ cryptography ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   pythonImportsCheck = [ "securetar" ];
33   meta = with lib; {
34     description = "Module to handle tarfile backups";
35     homepage = "https://github.com/pvizeli/securetar";
36     changelog = "https://github.com/pvizeli/securetar/releases/tag/${version}";
37     license = licenses.asl20;
38     maintainers = with maintainers; [ fab ];
39   };