1 { lib, fetchFromGitHub, rustPlatform }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "0086asrx48qlmc484pjz5r5znli85q6qgpfbd81gjlzylj7f57gg";
14 cargoHash = "sha256-/YnU7vLz37Y9gggGx+vKWvtxBH0fjBwXGc+UWyOG2OE=";
17 homepage = "https://github.com/cgag/loc";
18 changelog = "https://github.com/cgag/loc/blob/v${version}/CHANGELOG.md";
19 description = "Count lines of code quickly";
21 license = lib.licenses.mit;
22 maintainers = with lib.maintainers; [ sigmanificient ];
23 platforms = lib.platforms.unix;