Merge pull request #278394 from SuperSandro2000/python-modules-buildPythonPackage

python311Packages.yasi: use buildPythonPackage,  fypp: move python application out of python-modules
This commit is contained in:
Sandro
2024-02-12 22:34:37 +01:00
committed by GitHub
3 changed files with 14 additions and 9 deletions
@@ -1,9 +1,9 @@
{ lib, stdenv, fetchFromGitHub, buildPythonApplication }:
{ lib, fetchFromGitHub, python3 }:
buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "fypp";
version = "3.2";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "aradi";
@@ -12,6 +12,8 @@ buildPythonApplication rec {
hash = "sha256-MgGVlOqOIrIVoDfBMVpFLT26mhYndxans2hfo/+jdoA=";
};
nativeBuildInputs = [ python3.pkgs.setuptools ];
meta = with lib; {
description = "Python powered Fortran preprocessor";
homepage = "https://github.com/aradi/fypp";
@@ -1,14 +1,15 @@
{ lib
, buildPythonApplication
, buildPythonPackage
, colorama
, fetchFromGitHub
, pytestCheckHook
, setuptools
}:
buildPythonApplication rec {
buildPythonPackage rec {
pname = "yasi";
version = "2.1.2";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "nkmathew";
@@ -17,11 +18,15 @@ buildPythonApplication rec {
hash = "sha256-xKhVTmh/vrtBkatxtk8R4yqbGroH0I+xTKNYUpuikt4=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
colorama
];
nativeBuildInputs = [
nativeCheckInputs = [
pytestCheckHook
];
-2
View File
@@ -23832,8 +23832,6 @@ with pkgs;
toml-f = callPackage ../development/libraries/toml-f { };
fypp = python3Packages.callPackage ../development/python-modules/fypp { };
dbcsr = callPackage ../development/libraries/science/math/dbcsr { };
taco = callPackage ../development/libraries/taco { };