diff --git a/pkgs/development/python-modules/flask-script/default.nix b/pkgs/development/python-modules/flask-script/default.nix index ace3cee2d22e..33b44080343f 100644 --- a/pkgs/development/python-modules/flask-script/default.nix +++ b/pkgs/development/python-modules/flask-script/default.nix @@ -1,17 +1,20 @@ -{ lib, buildPythonPackage, fetchurl, flask, pytest }: +{ lib, buildPythonPackage, fetchPypi, flask, pytest }: buildPythonPackage rec { - name = "Flask-Script-${version}"; + pname = "Flask-Script"; version = "2.0.6"; - src = fetchurl { - url = "mirror://pypi/F/Flask-Script/${name}.tar.gz"; + src = fetchPypi { + inherit pname version; sha256 = "0zqh2yq8zk7m9b4xw1ryqmrljkdigfb3hk5155a3b5hkfnn6xxyf"; }; propagatedBuildInputs = [ flask ]; checkInputs = [ pytest ]; + # No tests in archive + doCheck = false; + meta = with lib; { homepage = http://github.com/smurfix/flask-script; description = "Scripting support for Flask";