python.pkgs.flask_script: improve expression
This commit is contained in:
parent
73d381a13a
commit
9928b03832
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user