nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 846 B view raw
1{ 2 lib, 3 python3Packages, 4 fetchFromGitHub, 5}: 6 7python3Packages.buildPythonApplication rec { 8 pname = "fprettify"; 9 version = "0.3.7"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "pseewald"; 14 repo = "fprettify"; 15 rev = "v${version}"; 16 sha256 = "17v52rylmsy3m3j5fcb972flazykz2rvczqfh8mxvikvd6454zyj"; 17 }; 18 19 preConfigure = '' 20 patchShebangs fprettify.py 21 ''; 22 23 build-system = with python3Packages; [ 24 setuptools 25 ]; 26 27 dependencies = with python3Packages; [ 28 configargparse 29 ]; 30 31 meta = { 32 description = "Auto-formatter for modern Fortran code that imposes strict whitespace formatting, written in Python"; 33 mainProgram = "fprettify"; 34 homepage = "https://pypi.org/project/fprettify/"; 35 license = with lib.licenses; [ gpl3Only ]; 36 maintainers = with lib.maintainers; [ fabiangd ]; 37 }; 38}