lieer: use fetchFromGitHub instead of fetchPypi

as per https://github.com/gauteh/lieer/pull/138#issuecomment-633262043
This commit is contained in:
Florian Klink 2020-05-24 19:24:31 +02:00
parent c1b7c7e87c
commit 2226972c7a

View file

@ -1,12 +1,14 @@
{ stdenv, python3Packages }:
{ stdenv, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "lieer";
version = "1.2";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "1cz0zi85sm3ffbrfn3nap3ad9krfwb1a9apfn0cb6fp2w0kcqrda";
src = fetchFromGitHub {
owner = "gauteh";
repo = "lieer";
rev = "v${version}";
sha256 = "0qp8sycclzagkiszqk1pw2fr8s8s195bzy8r27dj7f5zx350nxk5";
};
propagatedBuildInputs = with python3Packages; [