Merge pull request #140688 from dotlambda/pikepdf-3.1.1

python3Packages.pikepdf: 3.1.0 -> 3.1.1
This commit is contained in:
Ryan Mulligan 2021-10-06 11:24:25 -07:00 committed by GitHub
commit 94f3749cb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View file

@ -34,7 +34,13 @@ buildPythonPackage rec {
owner = "jbarlow83"; owner = "jbarlow83";
repo = "OCRmyPDF"; repo = "OCRmyPDF";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-gFlQztrRN69HtR6sTJl8tryuTibxQrz97QcS5UkFOVs="; # The content of .git_archival.txt is substituted upon tarball creation,
# which creates indeterminism if master no longer points to the tag.
# See https://github.com/jbarlow83/OCRmyPDF/issues/841
extraPostFetch = ''
rm "$out/.git_archival.txt"
'';
sha256 = "0zw7c6l9fkf128gxsbd7v4abazlxiygqys6627jpsjbmxg5jgp5w";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -24,12 +24,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pikepdf"; pname = "pikepdf";
version = "3.1.0"; version = "3.1.1";
disabled = ! isPy3k; disabled = ! isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "aeb813b5f36534d2bedf08487ab2b022c43f4c8a3e86e611c5f7c8fb97309db5"; sha256 = "sha256-klSUszWsIIz7o0/Ql8K4CWYujBH0mAbqyUcabpn1SkQ=";
}; };
patches = [ patches = [