mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 16:53:40 +00:00
baserow: Use antlr4_9 in antlr4-python3-runtime
and use buildPythonApplication for the package.
This commit is contained in:
parent
e98704b197
commit
9de9273f33
@ -2,30 +2,38 @@
|
||||
, fetchFromGitLab
|
||||
, makeWrapper
|
||||
, python3
|
||||
, antlr4_9
|
||||
}:
|
||||
|
||||
let
|
||||
|
||||
baserow_premium = with python3.pkgs; ( buildPythonPackage rec {
|
||||
pname = "baserow_premium";
|
||||
version = "1.12.1";
|
||||
foramt = "setuptools";
|
||||
python = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
antlr4-python3-runtime = super.antlr4-python3-runtime.override {
|
||||
antlr4 = antlr4_9;
|
||||
};
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "bramw";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-zT2afl3QNE2dO3JXjsZXqSmm1lv3EorG3mYZLQQMQ2Q=";
|
||||
baserow_premium = self.buildPythonPackage rec {
|
||||
pname = "baserow_premium";
|
||||
version = "1.12.1";
|
||||
foramt = "setuptools";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "bramw";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-zT2afl3QNE2dO3JXjsZXqSmm1lv3EorG3mYZLQQMQ2Q=";
|
||||
};
|
||||
|
||||
sourceRoot = "source/premium/backend";
|
||||
|
||||
doCheck = false;
|
||||
};
|
||||
};
|
||||
|
||||
sourceRoot = "source/premium/backend";
|
||||
|
||||
doCheck = false;
|
||||
});
|
||||
|
||||
};
|
||||
in
|
||||
|
||||
with python3.pkgs; buildPythonPackage rec {
|
||||
with python.pkgs; buildPythonApplication rec {
|
||||
pname = "baserow";
|
||||
version = "1.12.1";
|
||||
format = "setuptools";
|
||||
|
Loading…
Reference in New Issue
Block a user