norminette: init at 3.3.51
This commit is contained in:
parent
e163fe0984
commit
27fefe56f4
2 changed files with 33 additions and 0 deletions
31
pkgs/development/tools/norminette/default.nix
Normal file
31
pkgs/development/tools/norminette/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "norminette";
|
||||
version = "3.3.51";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "42School";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-JpWziUKZPOD+AwiYeHR7e0B9l3XKNNp+XQkZEvynKGY=";
|
||||
};
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export PYTHONPATH=norminette:$PYTHONPATH
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open source norminette to apply 42's norme to C files";
|
||||
homepage = "https://github.com/42School/norminette";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ wegank ];
|
||||
};
|
||||
}
|
|
@ -17684,6 +17684,8 @@ with pkgs;
|
|||
|
||||
nmrpflash = callPackage ../development/embedded/nmrpflash { };
|
||||
|
||||
norminette = callPackage ../development/tools/norminette { };
|
||||
|
||||
nwjs = callPackage ../development/tools/nwjs { };
|
||||
|
||||
nwjs-sdk = callPackage ../development/tools/nwjs {
|
||||
|
|
Loading…
Reference in a new issue