nix/pkgs/baserow: tie to tag for 1.7.1

This commit is contained in:
Luke Granger-Brown 2021-12-21 19:23:53 +00:00
parent 69db0e2a98
commit 9d983e7831

View file

@ -1,4 +1,4 @@
{ fetchFromGitHub
{ fetchFromGitLab
, pkgs
, stdenv
, makeWrapper
@ -7,10 +7,11 @@
}:
let
src = fetchFromGitHub {
owner = "bram2w";
version = "1.7.1";
src = fetchFromGitLab {
owner = "bramw";
repo = "baserow";
rev = "f61132a0fcb7e5620571155f7622766574ed52fd";
rev = version;
sha256 = "0jcisfhksrins33whwq46zg4r1101xvs2r0kcf1552x39r911gdg";
};
web-frontend-deps = import ./web-frontend {
@ -52,7 +53,7 @@ in
web-frontend = stdenv.mkDerivation {
name = "baserow-web-frontend";
inherit src;
inherit src version;
buildInputs = [ nodejs ];
nativeBuildInputs = [ makeWrapper ];
nodeDependencies = web-frontend-deps.shell.nodeDependencies;
@ -87,6 +88,7 @@ in
};
backend = python.pkgs.baserow-backend.overridePythonAttrs (oldAttrs: {
inherit version;
src = "${src}/backend";
prePatch = ''
# Yeet. Just assume everything is installed in the environment already.