1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-22 01:11:02 +03:00
nixpkgs/pkgs/development/python-modules/flask-script/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

26 lines
625 B
Nix

{ lib, buildPythonPackage, fetchPypi, flask, pytest }:
buildPythonPackage rec {
pname = "flask-script";
version = "2.0.6";
format = "setuptools";
src = fetchPypi {
pname = "Flask-Script";
inherit version;
hash = "sha256-ZCWWPZEFTPzBhYBxQccxSpxa1GMlkRvSTctIm9AWHGU=";
};
propagatedBuildInputs = [ flask ];
nativeCheckInputs = [ pytest ];
# No tests in archive
doCheck = false;
meta = with lib; {
homepage = "https://github.com/smurfix/flask-script";
description = "Scripting support for Flask";
license = licenses.bsd3;
maintainers = with maintainers; [ abbradar ];
};
}