10 buildPythonPackage rec {
14 src = fetchFromGitHub {
15 owner = "LibraryOfCongress";
16 repo = "bagit-python";
18 hash = "sha256-t01P7MPWgOrktuW2zF0TIzt6u/jkLmrpD2OnqawhJaI=";
21 nativeBuildInputs = [ gettext setuptools-scm ];
23 SETUPTOOLS_SCM_PRETEND_VERSION = version;
29 pytestFlagsArray = [ "test.py" ];
30 pythonImportsCheck = [ "bagit" ];
33 description = "Python library and command line utility for working with BagIt style packages";
34 homepage = "https://libraryofcongress.github.io/bagit-python/";
35 license = with licenses; [ publicDomain ];
36 maintainers = with maintainers; [ veprbl ];