summaryrefslogtreecommitdiff
path: root/pkgs/hdl-convertor
diff options
context:
space:
mode:
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