Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
879 B · 34 lines
Nix
1234567891011121314151617181920212223242526272829303132333435{ lib, rustPlatform, fetchFromGitLab, testers, commitmsgfmt,}:rustPlatform.buildRustPackage rec { pname = "commitmsgfmt"; version = "1.6.0";
src = fetchFromGitLab { owner = "mkjeldsen"; repo = "commitmsgfmt"; rev = "v${version}"; hash = "sha256-HEkPnTO1HeJg8gpHFSUTkEVBPWJ0OdfUhNn9iGfaDD4="; };
cargoHash = "sha256-cej+Jpp12QEaru1mecuXtIFDEnSBvTwpx0Vgp8s7jj8=";
passthru.tests.version = testers.testVersion { package = commitmsgfmt; command = "commitmsgfmt -V"; };
meta = { homepage = "https://gitlab.com/mkjeldsen/commitmsgfmt"; changelog = "https://gitlab.com/mkjeldsen/commitmsgfmt/-/raw/v${version}/CHANGELOG.md"; description = "Formats commit messages better than fmt(1) and Vim"; mainProgram = "commitmsgfmt"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ mmlb ]; };}