summaryrefslogtreecommitdiff
path: root/pkgs/hdl-convertor
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2025-08-24 18:55:06 -0600
committerAlejandro Soto <alejandro@34project.org>2025-08-24 18:55:06 -0600
commitd7ac88762db111a7962c4e14b5f4e37ab85ccac7 (patch)
tree0c2c8c4383bef74215e3b7c48a2f6b0117f084bc /pkgs/hdl-convertor
parent504589d1035f27b766bd33040b415b2725ece4ca (diff)
tree-wide: reformat using alejandra after enabling trivionomicon
Diffstat (limited to '')
-rw-r--r--pkgs/hdl-convertor/ast.nix6
-rw-r--r--pkgs/hdl-convertor/default.nix25
2 files changed, 18 insertions, 13 deletions
diff --git a/pkgs/hdl-convertor/ast.nix b/pkgs/hdl-convertor/ast.nix
index 52bd656..d6f833b 100644
--- a/pkgs/hdl-convertor/ast.nix
+++ b/pkgs/hdl-convertor/ast.nix
@@ -1,4 +1,8 @@
-{ lib, buildPythonPackage, fetchFromGitHub }:
+{
+ lib,
+ buildPythonPackage,
+ fetchFromGitHub,
+}:
buildPythonPackage {
pname = "hdl-convertor-ast";
version = "master-2022-07-25";
diff --git a/pkgs/hdl-convertor/default.nix b/pkgs/hdl-convertor/default.nix
index 08e16d6..12581aa 100644
--- a/pkgs/hdl-convertor/default.nix
+++ b/pkgs/hdl-convertor/default.nix
@@ -1,12 +1,13 @@
-{ antlr
-, buildPythonPackage
-, cmake
-, cython
-, fetchFromGitHub
-, hdl-convertor-ast
-, jre
-, python3
-, scikit-build
+{
+ antlr,
+ buildPythonPackage,
+ cmake,
+ cython,
+ fetchFromGitHub,
+ hdl-convertor-ast,
+ jre,
+ python3,
+ scikit-build,
}:
buildPythonPackage {
pname = "hdl-convertor";
@@ -20,9 +21,9 @@ buildPythonPackage {
sha256 = "sha256-Ketz5r7Z8kjshr7mjfdqF+QAOHGM/iTDpT6TMbYl6QU=";
};
- nativeBuildInputs = [ antlr cmake jre cython ];
- propagatedBuildInputs = [ antlr.runtime.cpp hdl-convertor-ast ];
- propagatedNativeBuildInputs = [ scikit-build ];
+ nativeBuildInputs = [antlr cmake jre cython];
+ propagatedBuildInputs = [antlr.runtime.cpp hdl-convertor-ast];
+ propagatedNativeBuildInputs = [scikit-build];
postPatch = ''
sed -i 's/antlr4\(-complete\)/${antlr.name}\1/g' src/CMake_antlr4.txt