fprettify: init at 0.3.7

This commit is contained in:
Fabian George Dröge 2021-08-18 08:03:04 +02:00
parent fc21dffa67
commit 1d820c65db
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonApplication rec {
pname = "fprettify";
version = "0.3.7";
src = fetchFromGitHub {
owner = "pseewald";
repo = pname;
rev = "v${version}";
sha256 = "17v52rylmsy3m3j5fcb972flazykz2rvczqfh8mxvikvd6454zyj";
};
preConfigure = ''
patchShebangs fprettify.py
'';
propagatedBuildInputs = with python3Packages; [
configargparse
];
meta = with lib; {
description = "An auto-formatter for modern Fortran code that imposes strict whitespace formatting, written in Python.";
homepage = "https://pypi.org/project/fprettify/";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fabiangd ];
};
}

View file

@ -13747,6 +13747,8 @@ with pkgs;
foreman = callPackage ../tools/system/foreman { };
goreman = callPackage ../tools/system/goreman { };
fprettify = callPackage ../development/tools/fprettify { };
framac = callPackage ../development/tools/analysis/frama-c { };
frame = callPackage ../development/libraries/frame { };