mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
pythonPackages.bagit: init at 1.8.1
This commit is contained in:
parent
b06804faf1
commit
088aee7bf0
39
pkgs/development/python-modules/bagit/default.nix
Normal file
39
pkgs/development/python-modules/bagit/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, coverage
|
||||
, gettext
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bagit";
|
||||
version = "1.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LibraryOfCongress";
|
||||
repo = "bagit-python";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-t01P7MPWgOrktuW2zF0TIzt6u/jkLmrpD2OnqawhJaI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gettext setuptools-scm ];
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
pytestFlagsArray = [ "test.py" ];
|
||||
pythonImportsCheck = [ "bagit" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library and command line utility for working with BagIt style packages";
|
||||
homepage = "https://libraryofcongress.github.io/bagit-python/";
|
||||
license = with licenses; [ publicDomain ];
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
@ -991,6 +991,8 @@ in {
|
||||
|
||||
bacpypes = callPackage ../development/python-modules/bacpypes { };
|
||||
|
||||
bagit = callPackage ../development/python-modules/bagit { };
|
||||
|
||||
banal = callPackage ../development/python-modules/banal { };
|
||||
|
||||
bandit = callPackage ../development/python-modules/bandit { };
|
||||
|
Loading…
Reference in New Issue
Block a user