11 rustPlatform.buildRustPackage rec {
13 version = "unstable-2021-09-02";
15 src = fetchFromGitHub {
18 rev = "6dd1c6d3a82b21d4fb2606accf2f26179eb6eaf9";
19 hash = "sha256-09DWUER0ZWQuwfE3sjov2GjJNI7coE3D3E5iUy9mlSE=";
26 buildInputs = lib.optional stdenv.hostPlatform.isDarwin CoreServices;
29 substituteInPlace lib/utils.rs \
30 --replace "/usr/share/muso" "$out/share/muso"
34 mkdir -p $out/share/muso
35 cp share/* $out/share/muso/
38 cargoHash = "sha256-+UVUejKCfjC6zdW315wmu7f3A5GmnoQ3rIk8SK6LIRI=";
41 broken = stdenv.hostPlatform.isDarwin;
42 description = "Automatic music sorter (based on ID3 tags)";
44 homepage = "https://github.com/quebin31/muso";
45 license = with licenses; [ gpl3Plus ];
46 maintainers = with maintainers; [ crertel ];