Merge pull request #306961 from reckenrode/docutils-update

This commit is contained in:
Randy Eckenrode 2024-05-02 10:26:01 -04:00 committed by GitHub
commit 5d340a3af4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
{ stdenv
, lib
, fetchgit
, fetchFromRepoOrCz
, buildPythonPackage
, flit-core
, pillow
@ -8,17 +8,20 @@
, pythonOlder
}:
# Note: this package is used to build LLVMs documentation, which is part of the Darwin stdenv.
# It cannot use `fetchgit` because that would pull curl into the bootstrap, which is disallowed.
let self = buildPythonPackage rec {
pname = "docutils";
version = "0.21.1";
version = "0.21.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchgit {
url = "git://repo.or.cz/docutils.git";
src = fetchFromRepoOrCz {
repo = "docutils";
rev = "docutils-${version}";
hash = "sha256-ahnj6iKjyUCDxhgxJdwEb8huFIGpbuuLQBHDzKj6O9E=";
hash = "sha256-Q+9yW+BYUEvPYV504368JsAoKKoaTZTeKh4tVeiNv5Y=";
};
build-system = [ flit-core ];