diff options
author | Nikolay Korotkiy <sikmir@gmail.com> | 2019-10-25 20:18:01 +0300 |
---|---|---|
committer | Nikolay Korotkiy <sikmir@gmail.com> | 2019-10-26 20:24:51 +0300 |
commit | 174bb765042277788e862698c28055399d5d6de8 (patch) | |
tree | 275371fdf1afa28d835304c3e9cb928f84568466 /pkgs/applications/misc/mu-repo | |
parent | f6b8a4d7efc3691deccd8fd9d4c7a962dd619d20 (diff) |
mu-repo: init at 1.8.0
Diffstat (limited to 'pkgs/applications/misc/mu-repo')
-rw-r--r-- | pkgs/applications/misc/mu-repo/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/misc/mu-repo/default.nix b/pkgs/applications/misc/mu-repo/default.nix new file mode 100644 index 0000000000000..ddee1939b02a5 --- /dev/null +++ b/pkgs/applications/misc/mu-repo/default.nix @@ -0,0 +1,26 @@ +{ lib, fetchFromGitHub, buildPythonApplication, pytest, git }: + +buildPythonApplication rec { + pname = "mu-repo"; + version = "1.8.0"; + + src = fetchFromGitHub { + owner = "fabioz"; + repo = pname; + rev = with lib; + "mu_repo_" + concatStringsSep "_" (splitVersion version); + sha256 = "1dxfggzbhiips0ww2s93yba9842ycp0i3x2i8vvcx0vgicv3rv6f"; + }; + + checkInputs = [ pytest git ]; + # disable test which assumes it's a git repo + checkPhase = "py.test mu_repo --ignore=mu_repo/tests/test_checkout.py"; + + meta = with lib; { + description = "Tool to help in dealing with multiple git repositories"; + homepage = "http://fabioz.github.io/mu-repo/"; + license = licenses.gpl3; + platforms = platforms.unix; + maintainers = with maintainers; [ sikmir ]; + }; +} |