mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
062210bdff
A recent upgrade of cargo-vendor changed its output slightly, which broke all cargoSha256 hashes in nixpkgs. See https://github.com/NixOS/nixpkgs/issues/60668 for more information. Since then, a few hashes have been fixed in master by hand, but there were a lot still to do, so I did all of the ones left over with some scripts I wrote. The one hash I wasn’t able to update was habitat's, because it’s currently broken and the build doesn’t get far enough to produce a hash anyway.
27 lines
738 B
Nix
27 lines
738 B
Nix
{ stdenv, fetchFromGitHub, rustPlatform, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
name = "websocat-${version}";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vi";
|
|
repo = "websocat";
|
|
rev = "v${version}";
|
|
sha256 = "1gf2snr12vnx2mhsrwkb5274r1pvdrf8m3bybrqbh8s9wd83nrh6";
|
|
};
|
|
|
|
cargoSha256 = "1zqfvbihf8xwgh092n9wzm3mdgbv0n99gjsfk9przqj2vh7wfvh2";
|
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Command-line client for WebSockets (like netcat/socat)";
|
|
homepage = https://github.com/vi/websocat;
|
|
license = with licenses; [ mit ];
|
|
maintainers = [ maintainers.thoughtpolice ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|