home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

default.nix (1019B)


      1 { stdenv, fetchFromGitHub, glib, gettext, bash, nodePackages, gnome3 }:
      2 
      3 stdenv.mkDerivation rec {
      4   pname = "gnome-bluetooth-quick-connect";
      5   version = "2020-09-03";
      6 
      7   src = fetchFromGitHub {
      8     owner = "bjarosze";
      9     repo = "gnome-bluetooth-quick-connect";
     10     rev = "662250e1ef3ebaafdb237c06ea39fbdbee09ee40";
     11     sha256 = "12lra0wkjdjm9bfjvan1hsfn55x0j2bsfgdjwqklggvv52iwr9wm";
     12   };
     13 
     14   nativeBuildInputs = [
     15     glib
     16     gettext
     17     nodePackages.typescript
     18   ];
     19 
     20   uuid = "bluetooth-quick-connect@bjarosze.gmail.com";
     21 
     22   installPhase = ''
     23     mkdir -p $out/share/gnome-shell/extensions/${uuid}
     24     cp -r * $out/share/gnome-shell/extensions/${uuid}
     25   '';
     26 
     27   meta = with stdenv.lib; {
     28     description = "Allows paired Bluetooth devices to be connected and disconnected via the GNOME system menu, without need to enter the Settings app every time.";
     29     license = licenses.gpl3;
     30     maintainers = with maintainers; [ vdemeester ];
     31     homepage = "https://github.com/bjarosze/gnome-bluetooth-quick-connect";
     32   };
     33 }