sigal: Use fetchPypi instead of fetchurl

This commit is contained in:
Matthias Beyer 2018-01-12 11:31:09 +01:00
parent 2eba34d960
commit 0a339f5a55
2 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
{ lib, buildPythonApplication, fetchurl, pythonPackages }:
{ lib, buildPythonApplication, fetchPypi, pythonPackages }:
buildPythonApplication rec {
version = "1.0.1";
name = "sigal-${version}";
pname = "sigal";
src = fetchurl {
url = "mirror://pypi/s/sigal/${name}.tar.gz";
src = fetchPypi {
inherit version pname;
sha256 = "198g2r8bii6a0p44mlk1wg07jjv95xpfvnqhhxxziqpizc776b34";
};

View File

@ -4520,7 +4520,7 @@ with pkgs;
siege = callPackage ../tools/networking/siege {};
sigal = callPackage ../applications/misc/sigal {
inherit (pythonPackages) buildPythonApplication;
inherit (pythonPackages) buildPythonApplication fetchPypi;
};
sigil = libsForQt56.callPackage ../applications/editors/sigil { };