Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 29 lines 728 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 rustPlatform, 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "sub-batch"; 10 version = "1.0.1"; 11 12 src = fetchFromGitHub { 13 owner = "kl"; 14 repo = "sub-batch"; 15 rev = "v${version}"; 16 sha256 = "sha256-TOcK+l65iKON1kgBE4DYV/BXACnvqPCshavnVdpnGH4="; 17 }; 18 19 cargoHash = "sha256-eT4u/IHj+yqeLQZ7E4cWAJFMT503zHq7HYyIhsoaj6s="; 20 21 meta = with lib; { 22 description = "Match and rename subtitle files to video files and perform other batch operations on subtitle files"; 23 homepage = "https://github.com/kl/sub-batch"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ erictapen ]; 26 broken = stdenv.hostPlatform.isDarwin; 27 mainProgram = "sub-batch"; 28 }; 29}