Commit 35f5375e authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files
parent d33a1054
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -7,15 +7,15 @@
  nix-update-script,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "presenterm";
  version = "0.11.0";
  version = "0.12.0";

  src = fetchFromGitHub {
    owner = "mfontanini";
    repo = "presenterm";
    tag = "v${version}";
    hash = "sha256-R2ATN495/sk+EMYs5BBxWk8nLO1ublWKfznn075/V5c=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-2k1YCzRoXt5Nmn+HH2qkdpP3S3+PJ5OVSVx29nYSdF8=";
  };

  buildInputs = [
@@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
  ];

  useFetchCargoVendor = true;
  cargoHash = "sha256-XXJGduSiPxlmcUyYp8QbTrPYI6NkoYxFA9cfsWgy1Es=";
  cargoHash = "sha256-M9VcwfG6NwUIvOkZKdoh97GVJEivkEmXhlApGQ1Hqds=";

  checkFlags = [
    # failed to load .tmpEeeeaQ: No such file or directory (os error 2)
@@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  versionCheckProgramArg = [ "--version" ];
  versionCheckProgramArg = "--version";
  doInstallCheck = true;

  passthru = {
@@ -42,10 +42,10 @@ rustPlatform.buildRustPackage rec {

  meta = {
    description = "Terminal based slideshow tool";
    changelog = "https://github.com/mfontanini/presenterm/releases/tag/v${version}";
    changelog = "https://github.com/mfontanini/presenterm/releases/tag/v${finalAttrs.version}";
    homepage = "https://github.com/mfontanini/presenterm";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ mikaelfangel ];
    mainProgram = "presenterm";
  };
}
})