nix-config/lib/pkgs/mjpeg-proxy.nix

17 lines
503 B
Nix
Raw Normal View History

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