summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-docx
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/python-docx')
-rw-r--r--pkgs/development/python-modules/python-docx/default.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/python-docx/default.nix b/pkgs/development/python-modules/python-docx/default.nix
index 627cb55ff354..28c4d4c3c115 100644
--- a/pkgs/development/python-modules/python-docx/default.nix
+++ b/pkgs/development/python-modules/python-docx/default.nix
@@ -2,7 +2,7 @@
lib,
behave,
buildPythonPackage,
- fetchPypi,
+ fetchFromGitHub,
lxml,
mock,
pyparsing,
@@ -14,19 +14,21 @@
buildPythonPackage rec {
pname = "python-docx";
- version = "1.1.0";
+ version = "1.1.2";
pyproject = true;
disabled = pythonOlder "3.7";
- src = fetchPypi {
- inherit pname version;
- hash = "sha256-WCm3IhQc8at5rt8MNNn+mSSyl2RYTA8hZOsrAtzfF8k=";
+ src = fetchFromGitHub {
+ owner = "python-openxml";
+ repo = "python-docx";
+ rev = "refs/tags/v${version}";
+ hash = "sha256-isxMtq5j5J02GcHMzOJdJw+ZokLoxA6fG1xsN21Irbc=";
};
- nativeBuildInputs = [ setuptools ];
+ build-system = [ setuptools ];
- propagatedBuildInputs = [
+ dependencies = [
lxml
typing-extensions
];