about summary refs log tree commit diff
path: root/pkgs/applications/version-management/tailor/default.nix
blob: a195c51358ef7f863d004c0f0d79e1bcc229dd15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, python3
, fetchurl
}:

python3.pkgs.buildPythonApplication rec {
  pname = "tailor";
  version = "0.9.37";

  src = fetchurl {
    url = "https://gitlab.com/ports1/tailor/-/archive/0.937/tailor-0.937.tar.gz";
    hash = "sha256-Bdf8ZCRsbCsFz1GRxyQxxndXSsm8oOL2738m9UxOTVc=";
  };

  propagatedBuildInputs = with python3.pkgs; [
    future
  ];

  # AssertionError: Tailor Darcs repository not found!
  doCheck = false;

  meta = with lib; {
    description = "Tool to migrate changesets between various kinds of version control system";
    longDescription = ''
      With its ability to "translate the history" from one VCS kind to another,
      this tool makes it easier to keep the upstream changes merged in
      a own branch of a product.

      Tailor is able to fetch the history from Arch, Bazaar, CVS, Darcs, Monotone,
      Perforce or Subversion and rewrite it over Aegis, Bazaar, CVS, Darcs, Git,
      Mercurial, Monotone and Subversion.
    '';
    homepage = "https://gitlab.com/ports1/tailor";
    license = licenses.gpl1Plus;
    platforms = platforms.unix;
    mainProgram = "tailor";
  };
}