format everything with black

This commit is contained in:
Istvan Ruzman
2020-09-21 18:16:03 +02:00
parent 2b5e7ceeed
commit 334445c54e
12 changed files with 353 additions and 426 deletions

View File

@@ -1,7 +1,22 @@
{ pkgs ? import <nixpkgs> {} }:
{ buildPythonPackage, lib, pytest, }:
let
app = pkgs.poetry2nix.mkPoetryApplication {
projectDir = ./.;
buildPythonPackage rec {
pname = "pyrad3";
version = "3.0.0";
src = "./.";
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Python RADIUS Implementation";
homepage = "";
license = [licenses.mit licenses.apache2];
maintainers = [ maintainers.lvkm ];
};
in app.dependencyEnv
}