diff options
author | sefidel <contact@sefidel.net> | 2022-09-09 21:37:36 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-09-09 21:40:32 +0900 |
commit | 390ddf448516447af081d1ebe8b2e2aff2555b7c (patch) | |
tree | 593427d21b8c9ca3be90057e4babb7a0b7f536f8 /packages/athens.nix | |
parent | f7749a73b778fcec683308adaf784d6e2fd866a6 (diff) | |
download | nixrc-390ddf448516447af081d1ebe8b2e2aff2555b7c.tar.gz nixrc-390ddf448516447af081d1ebe8b2e2aff2555b7c.zip |
feat(home/research): declutter
Diffstat (limited to 'packages/athens.nix')
-rw-r--r-- | packages/athens.nix | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/packages/athens.nix b/packages/athens.nix deleted file mode 100644 index 0bf9425..0000000 --- a/packages/athens.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, fetchurl, appimageTools }: - -let - pname = "athens"; - version = "2.0.0-beta.30"; - - src = fetchurl { - url = "https://github.com/athensresearch/athens/releases/download/v${version}/Athens-${version}.AppImage"; - name = "Athens-${version}.AppImage"; - sha256 = "sha256-UIhVh7Ywbrgu6QBBQSsPp4l0ELRR0Jb2vR2VbH5A17U="; - }; - appimageContents = appimageTools.extract { inherit pname version src; }; -in -appimageTools.wrapType2 { - inherit pname version src; - - extraInstallCommands = '' - mv $out/bin/${pname}-${version} $out/bin/${pname} - install -m 444 -D ${appimageContents}/athens.desktop -t $out/share/applications - substituteInPlace $out/share/applications/athens.desktop \ - --replace 'Exec=AppRun' 'Exec=${pname}' - install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/0x0/apps/athens.png \ - -t $out/share/icons/hicolor/512x512/apps - ''; - - meta = with lib; { - description = "Open-source knowledge graph"; - homepage = "https://github.com/athensresearch/athens"; - license = licenses.epl10; - maintainers = with maintainers; [ bbigras ]; - platforms = [ "x86_64-linux" ]; - }; -} |