Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
847 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, gettext, mock, pytestCheckHook, setuptools-scm}:
buildPythonPackage rec { pname = "bagit"; version = "1.8.1"; format = "setuptools";
src = fetchFromGitHub { owner = "LibraryOfCongress"; repo = "bagit-python"; rev = "v${version}"; hash = "sha256-t01P7MPWgOrktuW2zF0TIzt6u/jkLmrpD2OnqawhJaI="; };
nativeBuildInputs = [ gettext setuptools-scm ];
nativeCheckInputs = [ 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 ]; };}