Unverified Commit cae9b6e7 authored by Felix Bargfeldt's avatar Felix Bargfeldt Committed by GitHub
Browse files

tokei: 13.0.0-alpha.9 -> 13.0.0 (#464975)

parents b8180885 e36057a7
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -12,13 +12,13 @@

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "tokei";
  version = "13.0.0-alpha.9";
  version = "13.0.0";

  src = fetchFromGitHub {
    owner = "XAMPPRocky";
    repo = "tokei";
    tag = "v${finalAttrs.version}";
    hash = "sha256-OSIJYSUwc8SvszEOMgt+d/ljCW2jtBkPw6buof4JpUc=";
    hash = "sha256-7VyjNqwyqJhTTnaiijwXxHzWzk6GbxvQJPjIf250Kfc=";
  };

  patches = [
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
    })
  ];

  cargoHash = "sha256-FIT+c2YzGxJEvLB5uqkdVLWkQ/wlrbCrAkSQEoS4kJw=";
  cargoHash = "sha256-aCSz4BwSk+h+LLOPoBHy2lOmLeZI35o3qXSCE0UmEBY=";

  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];

@@ -42,7 +42,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
  versionCheckProgramArg = "--version";
  doInstallCheck = true;

  passthru.updateScript = nix-update-script { extraArgs = [ "--version=unstable" ]; };
  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Count your code, quickly";