Merge pull request #205188 from wegank/norminette-init
Closes https://github.com/NixOS/nixpkgs/issues/205010
This commit is contained in:
commit
9e6f3ed47e
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -17710,6 +17710,8 @@ with pkgs;
|
||||||
|
|
||||||
nmrpflash = callPackage ../development/embedded/nmrpflash { };
|
nmrpflash = callPackage ../development/embedded/nmrpflash { };
|
||||||
|
|
||||||
|
norminette = callPackage ../development/tools/norminette { };
|
||||||
|
|
||||||
nwjs = callPackage ../development/tools/nwjs { };
|
nwjs = callPackage ../development/tools/nwjs { };
|
||||||
|
|
||||||
nwjs-sdk = callPackage ../development/tools/nwjs {
|
nwjs-sdk = callPackage ../development/tools/nwjs {
|
||||||
|
|
Loading…
Reference in a new issue