Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
790 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, fetchFromGitHub, buildPythonPackage, setuptools, flask, mock, pytestCheckHook,}:
buildPythonPackage rec { pname = "flask-seasurf"; version = "2.0.0"; pyproject = true;
src = fetchFromGitHub { owner = "maxcountryman"; repo = "flask-seasurf"; tag = version; hash = "sha256-ajQiDizNaF0em9CVeaHEuJEeSaYraJh9YgvhvBPTIsk="; };
build-system = [ setuptools ];
dependencies = [ flask ];
nativeCheckInputs = [ pytestCheckHook mock ];
pythonImportsCheck = [ "flask_seasurf" ];
meta = { description = "Flask extension for preventing cross-site request forgery"; homepage = "https://github.com/maxcountryman/flask-seasurf"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ zhaofengli ]; };}