nixpkgs/pkgs/by-name/vi/viddy/package.nix
phanirithvij c6b810292b viddy: 1.2.1 -> 1.3.0
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2024-12-06 22:56:02 +05:30

40 lines
923 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "viddy";
version = "1.3.0";
src = fetchFromGitHub {
owner = "sachaos";
repo = "viddy";
rev = "v${version}";
hash = "sha256-ZdDe0ymPkj0ZGiPLo1Y0qMDk2SsUcPsSStay+Tuf4p0=";
};
cargoHash = "sha256-d/wmjvbTITpcGCrMVZrkUcCFPDdas2CDDPlIqoVBl9k=";
# requires nightly features
env.RUSTC_BOOTSTRAP = 1;
env.VERGEN_BUILD_DATE = "2024-11-28"; # managed via the update script
env.VERGEN_GIT_DESCRIBE = "Nixpkgs";
passthru.updateScript.command = [ ./update.sh ];
meta = {
description = "Modern watch command, time machine and pager etc.";
changelog = "https://github.com/sachaos/viddy/releases";
homepage = "https://github.com/sachaos/viddy";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
j-hui
phanirithvij
];
mainProgram = "viddy";
};
}