Commit fe2d1f22 authored by Eman Resu's avatar Eman Resu
Browse files

asciinema_3: use finalAttrs

parent 6f83d3e4
Loading
Loading
Loading
Loading
+47 −50
Original line number Diff line number Diff line
@@ -7,16 +7,15 @@
  testers,
}:

let
  self = rustPlatform.buildRustPackage {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "asciinema";
  version = "3.0.1";

  src = fetchFromGitHub {
      name = "asciinema-source-${self.version}";
    name = "asciinema-source-${finalAttrs.version}";
    owner = "asciinema";
    repo = "asciinema";
      rev = "v${self.version}";
    rev = "v${finalAttrs.version}";
    hash = "sha256-jWRq/LeDdCETiOMkWr9EIWztb14IYGCSo05QPw5HZZk=";
  };

@@ -39,7 +38,7 @@ let

  passthru = {
    tests.version = testers.testVersion {
        package = self;
      package = finalAttrs.finalPackage;
      command = "asciinema --version";
    };
  };
@@ -65,6 +64,4 @@ let
      llakala
    ];
  };
  };
in
self
})