nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 26 lines 752 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libevent, file, qrencode, miniupnpc }: 2 3stdenv.mkDerivation rec { 4 pname = "pshs"; 5 version = "0.3.4"; 6 7 src = fetchFromGitHub { 8 owner = "mgorny"; 9 repo = "pshs"; 10 rev = "v${version}"; 11 sha256 = "1j8j4r0vsmp6226q6jdgf9bzhx3qk7vdliwaw7f8kcsrkndkg6p4"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 buildInputs = [ libevent file qrencode miniupnpc ]; 16 17 # SSL requires libevent at 2.1 with ssl support 18 configureFlags = [ "--disable-ssl" ]; 19 20 meta = { 21 description = "Pretty small HTTP server - a command-line tool to share files"; 22 homepage = "https://github.com/mgorny/pshs"; 23 license = lib.licenses.bsd3; 24 platforms = lib.platforms.linux; 25 }; 26}