format everything with black
This commit is contained in:
25
default.nix
25
default.nix
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user