My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/securetar/default.nix

41 lines
740 B

{ lib
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "securetar";
version = "2022.02.0";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "pvizeli";
repo = pname;
rev = version;
hash = "sha256-FwQp08jwcGh07zpHqRNoUUmeLZJh78wI8wCXySi3Tdc=";
};
propagatedBuildInputs = [
cryptography
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"securetar"
];
meta = with lib; {
description = "Module to handle tarfile backups";
homepage = "https://github.com/pvizeli/securetar";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}