update project build tooling
This commit is contained in:
26
default.nix
Normal file
26
default.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user