Loading pkgs/by-name/di/difftastic/package.nix +5 −7 Original line number Diff line number Diff line Loading @@ -6,14 +6,14 @@ nix-update-script, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "difftastic"; version = "0.63.0"; src = fetchFromGitHub { owner = "wilfred"; repo = "difftastic"; tag = version; tag = finalAttrs.version; hash = "sha256-BxWCSkSeDyiiGBY2u0ahPrIhYq2lbujoPPtZGq/OkI0="; }; Loading @@ -21,9 +21,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-kIqaZ8truDivMV6uo1+j9bmXQReREZjHSr89ZvVDWCw="; # skip flaky tests checkFlags = [ "--skip=options::tests::test_detect_display_width" ]; checkFlags = [ "--skip=options::tests::test_detect_display_width" ]; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgram = "${placeholder "out"}/bin/difft"; Loading @@ -35,7 +33,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Syntax-aware diff"; homepage = "https://github.com/Wilfred/difftastic"; changelog = "https://github.com/Wilfred/difftastic/blob/${version}/CHANGELOG.md"; changelog = "https://github.com/Wilfred/difftastic/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ ethancedwards8 Loading @@ -45,4 +43,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "difft"; }; } }) Loading
pkgs/by-name/di/difftastic/package.nix +5 −7 Original line number Diff line number Diff line Loading @@ -6,14 +6,14 @@ nix-update-script, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "difftastic"; version = "0.63.0"; src = fetchFromGitHub { owner = "wilfred"; repo = "difftastic"; tag = version; tag = finalAttrs.version; hash = "sha256-BxWCSkSeDyiiGBY2u0ahPrIhYq2lbujoPPtZGq/OkI0="; }; Loading @@ -21,9 +21,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-kIqaZ8truDivMV6uo1+j9bmXQReREZjHSr89ZvVDWCw="; # skip flaky tests checkFlags = [ "--skip=options::tests::test_detect_display_width" ]; checkFlags = [ "--skip=options::tests::test_detect_display_width" ]; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgram = "${placeholder "out"}/bin/difft"; Loading @@ -35,7 +33,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Syntax-aware diff"; homepage = "https://github.com/Wilfred/difftastic"; changelog = "https://github.com/Wilfred/difftastic/blob/${version}/CHANGELOG.md"; changelog = "https://github.com/Wilfred/difftastic/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ ethancedwards8 Loading @@ -45,4 +43,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "difft"; }; } })