1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-17 08:28:20 +00:00

odpdown: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-09-19 22:59:45 +02:00
parent 4b951f0a6f
commit 4ff280efd7

View file

@ -1,13 +1,15 @@
{ lib, fetchurl, pythonPackages, libreoffice }:
{ lib, fetchFromGitHub, pythonPackages, libreoffice }:
pythonPackages.buildPythonApplication rec {
pname = "odpdown";
version = "0.4.1";
src = fetchurl {
url = "https://github.com/thorstenb/odpdown/archive/v${version}.tar.gz";
sha256 = "005eecc73c65b9d4c09532547940718a7b308cd565f62a213dfa040827d4d565";
src = fetchFromGitHub {
owner = "thorstenb";
repo = "odpdown";
rev = "v${version}";
sha256 = "r2qbgD9PAalbypt+vjp2YcYggUGPQMEG2FDxMtohqG4=";
};
propagatedBuildInputs = with pythonPackages; [ libreoffice lpod lxml mistune pillow pygments ];