about summary refs log tree commit diff
path: root/pkgs/applications/version-management/jujutsu/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/version-management/jujutsu/default.nix')
-rw-r--r--pkgs/applications/version-management/jujutsu/default.nix88
1 files changed, 0 insertions, 88 deletions
diff --git a/pkgs/applications/version-management/jujutsu/default.nix b/pkgs/applications/version-management/jujutsu/default.nix
deleted file mode 100644
index 2cdf24160c518..0000000000000
--- a/pkgs/applications/version-management/jujutsu/default.nix
+++ /dev/null
@@ -1,88 +0,0 @@
-{ stdenv
-, lib
-, fetchFromGitHub
-, rustPlatform
-, Security
-, SystemConfiguration
-, pkg-config
-, libiconv
-, openssl
-, gzip
-, libssh2
-, libgit2
-, zstd
-, installShellFiles
-, nix-update-script
-, testers
-, jujutsu
-}:
-
-rustPlatform.buildRustPackage rec {
-  pname = "jujutsu";
-  version = "0.18.0";
-
-  src = fetchFromGitHub {
-    owner = "martinvonz";
-    repo = "jj";
-    rev = "v${version}";
-    hash = "sha256-5KKF85RNCPPaXMxBb7m2XC3EaEo+UcEhBdfMEzNPsAg=";
-  };
-
-  cargoHash = "sha256-MiJuen3Lo7nPaAK30cENw3ACAdoYbHDoiGS05dk5m6U=";
-
-  cargoBuildFlags = [ "--bin" "jj" ]; # don't install the fake editors
-  useNextest = false; # nextest is the upstream integration framework, but is problematic for test skipping
-  ZSTD_SYS_USE_PKG_CONFIG = "1";    # disable vendored zlib
-  LIBSSH2_SYS_USE_PKG_CONFIG = "1"; # disable vendored libssh2
-
-  nativeBuildInputs = [
-    gzip
-    installShellFiles
-    pkg-config
-  ];
-
-  buildInputs = [
-    openssl
-    zstd
-    libgit2
-    libssh2
-  ] ++ lib.optionals stdenv.isDarwin [
-    Security
-    SystemConfiguration
-    libiconv
-  ];
-
-  postInstall = ''
-    $out/bin/jj util mangen > ./jj.1
-    installManPage ./jj.1
-
-    installShellCompletion --cmd jj \
-      --bash <($out/bin/jj util completion bash) \
-      --fish <($out/bin/jj util completion fish) \
-      --zsh <($out/bin/jj util completion zsh)
-  '';
-
-  checkFlags = [
-    # signing tests spin up an ssh-agent and do git checkouts
-    "--skip=test_ssh_signing"
-  ];
-
-  passthru = {
-    updateScript = nix-update-script { };
-    tests = {
-      version = testers.testVersion {
-        package = jujutsu;
-        command = "jj --version";
-      };
-    };
-  };
-
-  meta = with lib; {
-    description = "Git-compatible DVCS that is both simple and powerful";
-    homepage = "https://github.com/martinvonz/jj";
-    changelog = "https://github.com/martinvonz/jj/blob/v${version}/CHANGELOG.md";
-    license = licenses.asl20;
-    maintainers = with maintainers; [ _0x4A6F thoughtpolice ];
-    mainProgram = "jj";
-  };
-}