about summary refs log tree commit diff
path: root/pkgs/desktops/gnome/extensions/argos/default.nix
blob: 96685f779d831684cda93d2363c6fc1e6db41481 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ fetchFromGitHub, lib, stdenv }:

stdenv.mkDerivation rec {
  pname = "argos-unstable";
  version = "20220930";

  src = fetchFromGitHub {
    owner = "p-e-w";
    repo = "argos";
    rev = "f5f6f5bf6ab33dd2d65a490efe8faac5a0c07dc6";
    hash = "sha256-kI8EpZ68loM5oOS9Dkde+dkldD08mo9VcDqNhecyTOU=";
  };

  installPhase = ''
    mkdir -p "$out/share/gnome-shell/extensions"
    cp -a argos@pew.worldwidemann.com "$out/share/gnome-shell/extensions"
  '';

  passthru = {
    extensionUuid = "argos@pew.worldwidemann.com";
    extensionPortalSlug = "argos";
  };

  meta = with lib; {
    description = "Create GNOME Shell extensions in seconds";
    license = licenses.gpl3;
    maintainers = with maintainers; [ andersk ];
    homepage = "https://github.com/p-e-w/argos";
  };
}