3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #205188 from wegank/norminette-init

Closes https://github.com/NixOS/nixpkgs/issues/205010
This commit is contained in:
Sandro 2022-12-19 00:09:22 +01:00 committed by GitHub
commit 9e6f3ed47e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View 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 ];
};
}

View file

@ -17710,6 +17710,8 @@ with pkgs;
nmrpflash = callPackage ../development/embedded/nmrpflash { };
norminette = callPackage ../development/tools/norminette { };
nwjs = callPackage ../development/tools/nwjs { };
nwjs-sdk = callPackage ../development/tools/nwjs {