Merge pull request #208219 from mweinelt/hassil-0.1.4
python3Packages.hassil: 0.1.3 -> 0.1.4
This commit is contained in:
commit
c735db25e8
2 changed files with 13 additions and 2 deletions
|
@ -2,6 +2,9 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
|
||||
# build
|
||||
, antlr4
|
||||
|
||||
# propagates
|
||||
, antlr4-python3-runtime
|
||||
, dataclasses-json
|
||||
|
@ -13,7 +16,7 @@
|
|||
|
||||
let
|
||||
pname = "hassil";
|
||||
version = "0.1.3";
|
||||
version = "0.1.4";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
|
@ -21,11 +24,17 @@ buildPythonPackage {
|
|||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-KWkzHWMo50OIrZ2kwFhhqDSleFFkAD7/JugjvSyCkww=";
|
||||
hash = "sha256-ygaPdfH2jBk2xvlgt7V8/VcZAtv6Lwsi8g+stK/DdT8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
antlr4
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's/antlr4-python3-runtime==.*/antlr4-python3-runtime/' requirements.txt
|
||||
rm hassil/grammar/*.{tokens,interp}
|
||||
antlr -Dlanguage=Python3 -visitor -o hassil/grammar/ *.g4
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -7958,6 +7958,8 @@ with pkgs;
|
|||
|
||||
haskell-language-server = callPackage ../development/tools/haskell/haskell-language-server/withWrapper.nix { };
|
||||
|
||||
hassil = with python3Packages; toPythonApplication hassil;
|
||||
|
||||
hasmail = callPackage ../applications/networking/mailreaders/hasmail { };
|
||||
|
||||
haste-client = callPackage ../tools/misc/haste-client { };
|
||||
|
|
Loading…
Reference in a new issue