python.pkgs.flask_script: move to a separate file

This commit is contained in:
Nikolay Amiantov
2018-02-25 20:26:39 +03:00
parent 91840c30bd
commit 1f9a7ec651
2 changed files with 22 additions and 20 deletions

View File

@@ -0,0 +1,21 @@
{ lib, buildPythonPackage, fetchurl, flask, pytest }:
buildPythonPackage rec {
name = "Flask-Script-${version}";
version = "2.0.6";
src = fetchurl {
url = "mirror://pypi/F/Flask-Script/${name}.tar.gz";
sha256 = "0zqh2yq8zk7m9b4xw1ryqmrljkdigfb3hk5155a3b5hkfnn6xxyf";
};
propagatedBuildInputs = [ flask ];
checkInputs = [ pytest ];
meta = with lib; {
homepage = http://github.com/smurfix/flask-script;
description = "Scripting support for Flask";
license = licenses.bsd3;
maintainers = with maintainers; [ abbradar ];
};
}