nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 python3,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "fypp";
9 version = "3.2";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "aradi";
14 repo = "fypp";
15 rev = version;
16 hash = "sha256-MgGVlOqOIrIVoDfBMVpFLT26mhYndxans2hfo/+jdoA=";
17 };
18
19 nativeBuildInputs = [ python3.pkgs.setuptools ];
20
21 meta = with lib; {
22 description = "Python powered Fortran preprocessor";
23 mainProgram = "fypp";
24 homepage = "https://github.com/aradi/fypp";
25 license = licenses.gpl3Only;
26 maintainers = [ maintainers.sheepforce ];
27 };
28}