package jellyfin-rpc
This commit is contained in:
		
							parent
							
								
									7569cdd94d
								
							
						
					
					
						commit
						93f030cc75
					
				
					 2 changed files with 38 additions and 0 deletions
				
			
		|  | @ -4,4 +4,5 @@ | |||
| { pkgs ? (import ../nixpkgs.nix) { } }: { | ||||
|   xmobar = pkgs.callPackage ./xmobar-config { }; | ||||
|   xmonad = pkgs.callPackage ./xmonad-config { }; | ||||
|   jellyfin-rpc = pkgs.callPackage ./jellyfin-rpc { }; | ||||
| } | ||||
|  |  | |||
							
								
								
									
										37
									
								
								pkgs/jellyfin-rpc/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								pkgs/jellyfin-rpc/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,37 @@ | |||
| { lib, fetchFromGitHub, rustPlatform }: | ||||
| 
 | ||||
| with import <nixpkgs> | ||||
| { | ||||
|   overlays = [ | ||||
|     (import (fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz")) | ||||
|   ]; | ||||
| }; | ||||
| let | ||||
|   rustPlatform = makeRustPlatform { | ||||
|     cargo = rust-bin.stable.latest.minimal; | ||||
|     rustc = rust-bin.stable.latest.minimal; | ||||
|   }; | ||||
| in | ||||
| 
 | ||||
| rustPlatform.buildRustPackage rec { | ||||
|   pname = "jellyfin-rpc"; | ||||
|   version = "0.15.5"; | ||||
| 
 | ||||
|   src = fetchFromGitHub { | ||||
|     owner = "Radiicall"; | ||||
|     repo = pname; | ||||
|     rev = version; | ||||
|     hash = "sha256-c4L/9ATxOGHv5bm3e2yforXR1ASvvopFc+J4XqQ5JKc="; | ||||
|   }; | ||||
| 
 | ||||
|   cargoHash = "sha256-RDP5fpLxKGYYbTUda2adL5y3CeuXV81uEo211KLKCfw="; | ||||
| 
 | ||||
|   doCheck = false; | ||||
| 
 | ||||
|   meta = with lib; { | ||||
|     description = "Displays the content you're currently watching on Discord!"; | ||||
|     homepage = "https://github.com/Radiicall/jellyfin-rpc"; | ||||
|     license = with licenses; [ gpl3Only ]; | ||||
|     maintainers = with maintainers; [ sajenim ]; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue