mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 09:02:46 +00: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
751 B
Nix
27 lines
751 B
Nix
{ stdenv, fetchFromGitHub, rustPlatform, perl, zlib, openssl, curl }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
name = "tw-rs-${version}";
|
|
version = "0.1.26";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vmchale";
|
|
repo = "tw-rs";
|
|
rev = "${version}";
|
|
sha256 = "1s1gk2wcs3792gdzrngksczz3gma5kv02ni2jqrhib8l6z8mg9ia";
|
|
};
|
|
|
|
buildInputs = [ perl zlib openssl ]
|
|
++ stdenv.lib.optional stdenv.isDarwin curl;
|
|
|
|
cargoSha256 = "00v0b2vjal1dar4kwqk246k44mjyi1zp18hyj15dsww2972bm3b7";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Twitter command-line interface written in rust";
|
|
homepage = https://github.com/vmchale/tw-rs;
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ vmchale ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|