2020-05-01 16:50:04 +02:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "intermodal";
|
2020-09-25 12:10:20 +02:00
|
|
|
version = "0.1.11";
|
2020-05-01 16:50:04 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "casey";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-09-25 12:10:20 +02:00
|
|
|
sha256 = "1wqf227ljfys16jfbxi6mlkgdczgqrh15ixl9vi6higlxfi2wsj2";
|
2020-05-01 16:50:04 +02:00
|
|
|
};
|
|
|
|
|
2020-09-25 12:10:20 +02:00
|
|
|
cargoSha256 = "0lx8y1y5mf8ga7iz74dnfyf2b9jx15wishw0khfxknmh96h2y99h";
|
2020-05-01 16:50:04 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|