mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
ced21f5e1a
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`.
23 lines
579 B
Nix
23 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/;
|
|
};
|
|
}
|