summary refs log blame commit diff
path: root/pkgs/applications/version-management/fornalder/default.nix
blob: 9dd25cf12e3cd0d0b0ba3fdfc0afdce78ad87973 (plain) (tree)




























                                                                                  
{ fetchFromGitHub, rustPlatform, lib }:

rustPlatform.buildRustPackage rec {
  pname = "fornalder";
  version = "unstable-2022-07-23";

  src = fetchFromGitHub {
    owner = "hpjansson";
    repo = pname;
    rev = "44129f01910a9f16d97d0a3d8b1b376bf3338ea6";
    sha256 = "sha256-YODgR98SnpL6SM2nKrnzhpsEzYQFqduqigua/SXhazk=";
  };

  cargoLock.lockFile = ./Cargo.lock;

  postPatch = ''
    ln -s ${./Cargo.lock} Cargo.lock
  '';

  # tests don't typecheck
  doCheck = false;

  meta = with lib; {
    description = "Visualize long-term trends in collections of Git repositories";
    homepage = "https://github.com/hpjansson/fornalder";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ astro ];
  };
}