lol

pythonPackages.bagit: init at 1.8.1

+41
+39
pkgs/development/python-modules/bagit/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , coverage 5 + , gettext 6 + , mock 7 + , pytestCheckHook 8 + , setuptools-scm 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "bagit"; 13 + version = "1.8.1"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "LibraryOfCongress"; 17 + repo = "bagit-python"; 18 + rev = "v${version}"; 19 + hash = "sha256-t01P7MPWgOrktuW2zF0TIzt6u/jkLmrpD2OnqawhJaI="; 20 + }; 21 + 22 + nativeBuildInputs = [ gettext setuptools-scm ]; 23 + 24 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 25 + 26 + checkInputs = [ 27 + mock 28 + pytestCheckHook 29 + ]; 30 + pytestFlagsArray = [ "test.py" ]; 31 + pythonImportsCheck = [ "bagit" ]; 32 + 33 + meta = with lib; { 34 + description = "Python library and command line utility for working with BagIt style packages"; 35 + homepage = "https://libraryofcongress.github.io/bagit-python/"; 36 + license = with licenses; [ publicDomain ]; 37 + maintainers = with maintainers; [ veprbl ]; 38 + }; 39 + }
+2
pkgs/top-level/python-packages.nix
··· 991 991 992 992 bacpypes = callPackage ../development/python-modules/bacpypes { }; 993 993 994 + bagit = callPackage ../development/python-modules/bagit { }; 995 + 994 996 banal = callPackage ../development/python-modules/banal { }; 995 997 996 998 bandit = callPackage ../development/python-modules/bandit { };