diff options
author | Koki Yasuno <lattfein@gmail.com> | 2019-09-27 13:28:11 +0900 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-10-03 01:24:01 -0700 |
commit | 45e3058f78e4d861f88499d5e67e9b0ad5e6f509 (patch) | |
tree | 67e6d022894a23daf7f75022191d6b19c8ace273 /pkgs/applications/networking/station/default.nix | |
parent | 1fb1f41c1bd7aa6d14b815920cdabefd98fa3a38 (diff) | |
download | nixpkgs-45e3058f78e4d861f88499d5e67e9b0ad5e6f509.tar nixpkgs-45e3058f78e4d861f88499d5e67e9b0ad5e6f509.tar.gz nixpkgs-45e3058f78e4d861f88499d5e67e9b0ad5e6f509.tar.bz2 nixpkgs-45e3058f78e4d861f88499d5e67e9b0ad5e6f509.tar.lz nixpkgs-45e3058f78e4d861f88499d5e67e9b0ad5e6f509.tar.xz nixpkgs-45e3058f78e4d861f88499d5e67e9b0ad5e6f509.tar.zst nixpkgs-45e3058f78e4d861f88499d5e67e9b0ad5e6f509.zip |
station: init at 1.51.1
Diffstat (limited to 'pkgs/applications/networking/station/default.nix')
-rw-r--r-- | pkgs/applications/networking/station/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/networking/station/default.nix b/pkgs/applications/networking/station/default.nix new file mode 100644 index 00000000000..6b241ddb959 --- /dev/null +++ b/pkgs/applications/networking/station/default.nix @@ -0,0 +1,30 @@ +{ appimageTools, fetchurl, gsettings-desktop-schemas, gtk3, lib }: + +let + pname = "station"; + version = "1.51.1"; +in appimageTools.wrapType2 rec { + name = "${pname}-${version}"; + + src = fetchurl { + url = "https://github.com/getstation/desktop-app-releases/releases/download/${version}/Station-${version}.AppImage"; + sha256 = "1vfis2q7zf1sabdlxzmbxh135jk25ylhavrgfc30k5nad9cacw8k"; + }; + + profile = '' + export LC_ALL=C.UTF-8 + export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS + ''; + + multiPkgs = null; + extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs; + extraInstallCommands = "mv $out/bin/{${name},${pname}}"; + + meta = with lib; { + description = "A single place for all of your web applications"; + homepage = "https://getstation.com"; + license = licenses.mit; + platforms = [ "x86_64-linux" ]; + maintainers = with maintainers; [ lattfein ]; + }; +} |