Unverified Commit d37f2a19 authored by Christoph Jabs's avatar Christoph Jabs
Browse files

cargo-udeps: use finalAttrs

parent f5f2f5e5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -8,14 +8,14 @@
  libiconv,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "cargo-udeps";
  version = "0.1.60";

  src = fetchFromGitHub {
    owner = "est31";
    repo = "cargo-udeps";
    rev = "v${version}";
    rev = "v${finalAttrs.version}";
    sha256 = "sha256-NW9yjFUV+o7vv5bYD8nxSWHOXOBnDEk36xze90wYuNg=";
  };

@@ -45,4 +45,4 @@ rustPlatform.buildRustPackage rec {
    ];
    mainProgram = "cargo-udeps";
  };
}
})