nixpkgs/pkgs/development/python-modules/flask-wtf/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

22 lines
579 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, flask, wtforms, nose }:
buildPythonPackage rec {
pname = "Flask-WTF";
version = "0.14.2";
src = fetchPypi {
inherit pname version;
sha256 = "0dncc5as2k61b28k8kal5yh3prmv7zya1jz7kvci7ximzmfda52x";
};
propagatedBuildInputs = [ flask wtforms nose ];
doCheck = false; # requires external service
meta = with stdenv.lib; {
description = "Simple integration of Flask and WTForms.";
license = licenses.bsd3;
maintainers = [ maintainers.mic92 ];
homepage = https://github.com/lepture/flask-wtf/;
};
}