Commit f2e2e99e authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

ripasso-cursive: switch to `finalAttrs` pattern

parent 6a7d91d5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -19,14 +19,14 @@
  nix-update-script,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  version = "0.7.0";
  pname = "ripasso-cursive";

  src = fetchFromGitHub {
    owner = "cortex";
    repo = "ripasso";
    tag = "release-${version}";
    tag = "release-${finalAttrs.version}";
    hash = "sha256-j98X/+UTea4lCtFfMpClnfcKlvxm4DpOujLc0xc3VUY=";
  };

@@ -81,4 +81,4 @@ rustPlatform.buildRustPackage rec {
    maintainers = with lib.maintainers; [ sgo ];
    platforms = lib.platforms.unix;
  };
}
})