python311Packages.securetar: refactor

This commit is contained in:
Fabian Affolter 2023-12-26 09:56:02 +01:00
parent d34e1df8e8
commit d7a396b3c4

View File

@ -4,22 +4,27 @@
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "securetar";
version = "2023.12.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "pvizeli";
repo = pname;
repo = "securetar";
rev = "refs/tags/${version}";
hash = "sha256-P8aq1RRlEmXhJ4n0TSLVjYx4dvkckuz2aDGkAvp7bfo=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
cryptography
];