nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.09-alpha 25 lines 804 B view raw
1{ stdenv, rustPlatform, fetchFromGitHub }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "intermodal"; 5 version = "0.1.10"; 6 7 src = fetchFromGitHub { 8 owner = "casey"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "0vdla0vhvgj1yrg631jdm3kwdm1q0acw8sh2nz57dp3x7chq6ipx"; 12 }; 13 14 cargoSha256 = "1yl1chh243ixa9lhkmgi94w6mvnrnr7xmsh4kvj7ax693249pzjv"; 15 16 # include_hidden test tries to use `chflags` on darwin 17 checkFlagsArray = stdenv.lib.optionals stdenv.isDarwin [ "--skip=subcommand::torrent::create::tests::include_hidden" ]; 18 19 meta = with stdenv.lib; { 20 description = "User-friendly and featureful command-line BitTorrent metainfo utility"; 21 homepage = "https://github.com/casey/intermodal"; 22 license = licenses.cc0; 23 maintainers = with maintainers; [ filalex77 ]; 24 }; 25}