forked from Nexus/nexus
prepare v1.1.0-alpha1
This commit is contained in:
parent
bf8490896c
commit
e609bcebcd
3 changed files with 12 additions and 3 deletions
|
|
@ -49,7 +49,7 @@ nexus = {
|
||||||
This tracks the latest commit on `main`. To stay on a release instead, pin the input to its tag:
|
This tracks the latest commit on `main`. To stay on a release instead, pin the input to its tag:
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
url = "git+https://git.federated.nexus/Nexus/nexus?ref=refs/tags/v1.0.0";
|
url = "git+https://git.federated.nexus/Nexus/nexus?ref=refs/tags/v1.0.1";
|
||||||
```
|
```
|
||||||
|
|
||||||
Then import the module and enable it in your NixOS configuration:
|
Then import the module and enable it in your NixOS configuration:
|
||||||
|
|
|
||||||
|
|
@ -8,13 +8,22 @@
|
||||||
libclang,
|
libclang,
|
||||||
flutter,
|
flutter,
|
||||||
stdenv,
|
stdenv,
|
||||||
|
runCommand,
|
||||||
|
yq,
|
||||||
src,
|
src,
|
||||||
commit ? "dev",
|
commit ? "dev",
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
pubspec = lib.importJSON (
|
||||||
|
runCommand "pubspec.json" { nativeBuildInputs = [ yq ]; } ''
|
||||||
|
yq . ${src}/pubspec.yaml > $out
|
||||||
|
''
|
||||||
|
);
|
||||||
|
in
|
||||||
flutter.buildFlutterApplication {
|
flutter.buildFlutterApplication {
|
||||||
pname = "nexus";
|
pname = "nexus";
|
||||||
version = "1.0.0";
|
version = lib.head (lib.splitString "+" pubspec.version);
|
||||||
inherit src;
|
inherit src;
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
name: nexus
|
name: nexus
|
||||||
description: "A simple and user-friendly Matrix client"
|
description: "A simple and user-friendly Matrix client"
|
||||||
version: 1.0.0
|
version: 1.1.0-alpha1
|
||||||
publish_to: none
|
publish_to: none
|
||||||
|
|
||||||
flutter:
|
flutter:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue