25 lines
398 B
Nix
25 lines
398 B
Nix
{
|
|
lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, makeWrapper
|
|
, mpv
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "thumbctl";
|
|
version = "0.1.0";
|
|
src = lib.cleanSource ./.;
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
cargoHash = "";
|
|
|
|
meta = with lib; {
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ h7x4 ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "thumbctl";
|
|
};
|
|
}
|