1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/tools/misc/intermodal/default.nix

26 lines
804 B
Nix
Raw Normal View History

2020-05-01 15:50:04 +01:00
{ stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "intermodal";
2020-06-26 13:27:21 +01:00
version = "0.1.10";
2020-05-01 15:50:04 +01:00
src = fetchFromGitHub {
owner = "casey";
repo = pname;
rev = "v${version}";
2020-06-26 13:27:21 +01:00
sha256 = "0vdla0vhvgj1yrg631jdm3kwdm1q0acw8sh2nz57dp3x7chq6ipx";
2020-05-01 15:50:04 +01:00
};
2020-06-26 13:27:21 +01:00
cargoSha256 = "1yl1chh243ixa9lhkmgi94w6mvnrnr7xmsh4kvj7ax693249pzjv";
2020-05-01 15:50:04 +01:00
# include_hidden test tries to use `chflags` on darwin
checkFlagsArray = stdenv.lib.optionals stdenv.isDarwin [ "--skip=subcommand::torrent::create::tests::include_hidden" ];
meta = with stdenv.lib; {
description = "User-friendly and featureful command-line BitTorrent metainfo utility";
homepage = "https://github.com/casey/intermodal";
license = licenses.cc0;
maintainers = with maintainers; [ filalex77 ];
};
}