update project build tooling

This commit is contained in:
Istvan Ruzman
2022-02-21 14:54:08 +01:00
parent 804063a507
commit 1b3cfe8f1c
7 changed files with 92 additions and 1014 deletions

26
default.nix Normal file
View File

@@ -0,0 +1,26 @@
{ buildPythonPackage
, lib
, flit
, pytest
}:
buildPythonPackage rec {
pname = "pyrad3";
version = "0.2.0";
nativeBuildInputs = [ flit ];
src = lib.cleanSource ./.;
format = "pyproject";
checkInputs = [ pytest ];
checkPhase = "pytest";
meta = with lib;
{
description = "RADIUS tools for python";
license = licenses.mit;
platforms = platforms.linux;
maintainers = "Istvan Ruzman";
};
}