Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
1012 B
Nix
47 lines
1012 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
pkg-config,
|
|
wrapGAppsHook3,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "muso";
|
|
version = "unstable-2021-09-02";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "quebin31";
|
|
repo = "muso";
|
|
rev = "6dd1c6d3a82b21d4fb2606accf2f26179eb6eaf9";
|
|
hash = "sha256-09DWUER0ZWQuwfE3sjov2GjJNI7coE3D3E5iUy9mlSE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
preConfigure = ''
|
|
substituteInPlace lib/utils.rs \
|
|
--replace "/usr/share/muso" "$out/share/muso"
|
|
'';
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/share/muso
|
|
cp share/* $out/share/muso/
|
|
'';
|
|
|
|
cargoHash = "sha256-L0ZQoz9J5Hxg98puk1RbKuybLboIoOsy5qqGnvEPi1U=";
|
|
|
|
meta = with lib; {
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
description = "Automatic music sorter (based on ID3 tags)";
|
|
mainProgram = "muso";
|
|
homepage = "https://github.com/quebin31/muso";
|
|
license = with licenses; [ gpl3Plus ];
|
|
maintainers = with maintainers; [ crertel ];
|
|
};
|
|
}
|