nix/pkgs/baserow: tie to tag for 1.7.1
This commit is contained in:
parent
69db0e2a98
commit
9d983e7831
1 changed files with 7 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ fetchFromGitHub
|
{ fetchFromGitLab
|
||||||
, pkgs
|
, pkgs
|
||||||
, stdenv
|
, stdenv
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
@ -7,10 +7,11 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
src = fetchFromGitHub {
|
version = "1.7.1";
|
||||||
owner = "bram2w";
|
src = fetchFromGitLab {
|
||||||
|
owner = "bramw";
|
||||||
repo = "baserow";
|
repo = "baserow";
|
||||||
rev = "f61132a0fcb7e5620571155f7622766574ed52fd";
|
rev = version;
|
||||||
sha256 = "0jcisfhksrins33whwq46zg4r1101xvs2r0kcf1552x39r911gdg";
|
sha256 = "0jcisfhksrins33whwq46zg4r1101xvs2r0kcf1552x39r911gdg";
|
||||||
};
|
};
|
||||||
web-frontend-deps = import ./web-frontend {
|
web-frontend-deps = import ./web-frontend {
|
||||||
|
@ -52,7 +53,7 @@ in
|
||||||
|
|
||||||
web-frontend = stdenv.mkDerivation {
|
web-frontend = stdenv.mkDerivation {
|
||||||
name = "baserow-web-frontend";
|
name = "baserow-web-frontend";
|
||||||
inherit src;
|
inherit src version;
|
||||||
buildInputs = [ nodejs ];
|
buildInputs = [ nodejs ];
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
nodeDependencies = web-frontend-deps.shell.nodeDependencies;
|
nodeDependencies = web-frontend-deps.shell.nodeDependencies;
|
||||||
|
@ -87,6 +88,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
backend = python.pkgs.baserow-backend.overridePythonAttrs (oldAttrs: {
|
backend = python.pkgs.baserow-backend.overridePythonAttrs (oldAttrs: {
|
||||||
|
inherit version;
|
||||||
src = "${src}/backend";
|
src = "${src}/backend";
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
# Yeet. Just assume everything is installed in the environment already.
|
# Yeet. Just assume everything is installed in the environment already.
|
||||||
|
|
Loading…
Reference in a new issue