mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-15 12:30:26 +08:00
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
25 lines
581 B
Nix
25 lines
581 B
Nix
{ lib, buildPythonPackage, fetchPypi, flask, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Flask-Script";
|
|
version = "2.0.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0r8w2v89nj6b9p91p495cga5m72a673l2wc0hp0zqk05j4yrc9b4";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|