Skyler Grey | f4c2e67 | 2022-10-31 00:29:45 +0000 | [diff] [blame] | 1 | { lib |
| 2 | , fetchFromGitHub |
| 3 | , stdenv |
| 4 | , libgee |
| 5 | , libglibutil |
| 6 | , gtk3 |
| 7 | , gtk-layer-shell |
| 8 | , meson |
| 9 | , vala |
| 10 | , pkg-config |
| 11 | , cmake |
| 12 | , glib |
| 13 | , ninja |
| 14 | , hybridbar |
| 15 | }: stdenv.mkDerivation rec { |
| 16 | pname = "Hybridbar"; |
| 17 | version = "1.0.0"; |
| 18 | |
| 19 | src = fetchFromGitHub { |
| 20 | owner = "hcsubser"; |
| 21 | repo = pname; |
| 22 | rev = version; |
| 23 | sha256 = "sha256-IiIkqsw+OMu6aqx9Et+cP0vXY19s+SGsTfikWX5r/cY="; |
| 24 | }; |
| 25 | |
| 26 | profile = '' |
| 27 | XDG_DATA_DIRS=$out/share/gsettings-schemas/$name:$XDG_DATA_DIRS"; |
| 28 | ''; |
| 29 | |
| 30 | buildInputs = [ libgee libglibutil.dev gtk3.dev gtk-layer-shell glib.dev ]; |
| 31 | nativeBuildInputs = [ meson vala cmake pkg-config ninja ]; |
| 32 | } |