lol

Merge pull request #330279 from philiptaron/live-server

live-server: init at 0.7.0

authored by

Peder Bergebakken Sundt and committed by
GitHub
742e3f78 f66cbf3e

+45
+45
pkgs/by-name/li/live-server/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + rustPlatform, 5 + fetchFromGitHub, 6 + darwin, 7 + openssl, 8 + pkg-config, 9 + }: 10 + 11 + rustPlatform.buildRustPackage rec { 12 + pname = "live-server"; 13 + version = "0.7.0"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "lomirus"; 17 + repo = "live-server"; 18 + rev = "v${version}"; 19 + hash = "sha256-BSAsD9nRlHaTDbBpLBxN9OOQ9SekRwQeYUWV1CZO4oY="; 20 + }; 21 + 22 + cargoHash = "sha256-RwueYpa/CMriSOWwGZhkps6jHmqOdRuz+ECRq/ThPs0="; 23 + 24 + nativeBuildInputs = [ pkg-config ]; 25 + 26 + buildInputs = 27 + [ openssl ] 28 + ++ lib.optionals stdenv.isDarwin ( 29 + with darwin.apple_sdk.frameworks; 30 + [ 31 + CoreServices 32 + SystemConfiguration 33 + ] 34 + ); 35 + 36 + meta = with lib; { 37 + description = "Local network server with live reload feature for static pages"; 38 + downloadPage = "https://github.com/lomirus/live-server/releases"; 39 + homepage = "https://github.com/lomirus/live-server"; 40 + license = licenses.mit; 41 + mainProgram = "live-server"; 42 + maintainers = [ maintainers.philiptaron ]; 43 + platforms = platforms.unix; 44 + }; 45 + }