2024-01-03 01:43:23 +00:00
|
|
|
{ lib, fetchFromGitHub, python3 }:
|
2023-05-25 11:57:28 +00:00
|
|
|
|
2024-01-03 01:43:23 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2023-05-25 11:57:28 +00:00
|
|
|
pname = "fypp";
|
2023-10-20 16:30:47 +00:00
|
|
|
version = "3.2";
|
2024-01-03 01:43:23 +00:00
|
|
|
pyproject = true;
|
2023-05-25 11:57:28 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aradi";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-10-20 16:30:47 +00:00
|
|
|
hash = "sha256-MgGVlOqOIrIVoDfBMVpFLT26mhYndxans2hfo/+jdoA=";
|
2023-05-25 11:57:28 +00:00
|
|
|
};
|
|
|
|
|
2024-01-03 01:43:23 +00:00
|
|
|
nativeBuildInputs = [ python3.pkgs.setuptools ];
|
|
|
|
|
2023-05-25 11:57:28 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Python powered Fortran preprocessor";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "fypp";
|
2023-05-25 11:57:28 +00:00
|
|
|
homepage = "https://github.com/aradi/fypp";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = [ maintainers.sheepforce ];
|
|
|
|
};
|
|
|
|
}
|