Unverified Commit e85973dd authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

asciinema_3: 3.0.0 -> 3.0.1 (#455281)

parents 480f847d 783c88af
Loading
Loading
Loading
Loading
+45 −52
Original line number Diff line number Diff line
@@ -4,26 +4,26 @@
  installShellFiles,
  python3,
  rustPlatform,
  testers,
  versionCheckHook,
}:

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

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

    cargoHash = "sha256-2DQqtCcvSO43+RcMN2/BGqvf+cp/WvzUY4dxVpNcbGU=";
  cargoHash = "sha256-bGhShwH4BxE3O4/B8KSK1o7IXNDBmGuVt4kx5s8W/go=";

  env.ASCIINEMA_GEN_DIR = "gendir";

  strictDeps = true;

  nativeCheckInputs = [ python3 ];
  nativeBuildInputs = [ installShellFiles ];

@@ -35,14 +35,9 @@ let
      --zsh gendir/completion/_asciinema
  '';

    strictDeps = true;

    passthru = {
      tests.version = testers.testVersion {
        package = self;
        command = "asciinema --version";
      };
    };
  doInstallCheck = true;
  nativeInstallCheckInputs = [ versionCheckHook ];
  versionCheckProgramArg = "--version";

  meta = {
    homepage = "https://asciinema.org/";
@@ -65,6 +60,4 @@ let
      llakala
    ];
  };
  };
in
self
})