depot/third_party/nixpkgs/pkgs/development/python-modules/securetar/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

47 lines
899 B
Nix

{ lib
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "securetar";
version = "2024.2.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "pvizeli";
repo = "securetar";
rev = "refs/tags/${version}";
hash = "sha256-rYRbrpXo2oVW8SpddNsKb0FBdscovNUaGXLHy7WBiVU=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
cryptography
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"securetar"
];
meta = with lib; {
description = "Module to handle tarfile backups";
homepage = "https://github.com/pvizeli/securetar";
changelog = "https://github.com/pvizeli/securetar/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}