mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
29 lines
735 B
Nix
29 lines
735 B
Nix
{ 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 ];
|
|
};
|
|
}
|