{ fetchgit, rustPlatform, pkg-config, openssl }: rustPlatform.buildRustPackage rec { pname = "rust-mjpeg-proxy"; version = "unstable-2021-02-21"; src = fetchgit { url = "https://gitea.c3d2.de/astro/rust-mjpeg-proxy.git"; rev = "d64611c0c3f91ff594054110197db097b649782d"; sha256 = "004hgaq046lq0d1mn46p5g17qll18k5ssm4igwfi0k98lc2l3s8x"; }; cargoSha256 = "1lsrzgszag9g93s3wqm3h1jbsh5dsik4gp7ci3lgmlb4h94ziqn2"; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ]; }