From a4e5168f0f0c926f39952f8d065dede59f97b845 Mon Sep 17 00:00:00 2001 From: Phillip Seeber Date: Thu, 25 May 2023 13:57:28 +0200 Subject: [PATCH] fypp: init at 3.1 fypp: fix homepage fypp: fix package call --- .../python-modules/fypp/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/python-modules/fypp/default.nix diff --git a/pkgs/development/python-modules/fypp/default.nix b/pkgs/development/python-modules/fypp/default.nix new file mode 100644 index 000000000000..9504a5839e73 --- /dev/null +++ b/pkgs/development/python-modules/fypp/default.nix @@ -0,0 +1,20 @@ +{ lib, stdenv, fetchFromGitHub, buildPythonApplication }: + +buildPythonApplication rec { + pname = "fypp"; + version = "3.1"; + + src = fetchFromGitHub { + owner = "aradi"; + repo = pname; + rev = version; + hash = "sha256-iog5Gdcd1F230Nl4JDrKoyYr8JualVgNZQzHLzd4xe8="; + }; + + meta = with lib; { + description = "Python powered Fortran preprocessor"; + homepage = "https://github.com/aradi/fypp"; + license = licenses.gpl3Only; + maintainers = [ maintainers.sheepforce ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c78144efa788..1496408cdf2f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22950,6 +22950,8 @@ with pkgs; toml-f = callPackage ../development/libraries/toml-f { }; + fypp = python3Packages.callPackage ../development/python-modules/fypp { }; + ## libGL/libGLU/Mesa stuff # Default libGL implementation, should provide headers and