nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 44 lines 908 B view raw
1{ 2 lib, 3 buildPythonApplication, 4 fetchFromGitHub, 5 pytestCheckHook, 6 git, 7 testers, 8 mu-repo, 9}: 10 11buildPythonApplication rec { 12 pname = "mu-repo"; 13 version = "1.9.0"; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "fabioz"; 18 repo = "mu-repo"; 19 tag = "mu_repo_${lib.replaceStrings [ "." ] [ "_" ] version}"; 20 hash = "sha256-aSRf0B/skoZLsn4dykWOFKVNtHYCsD9RtZ1frHDrcJU="; 21 }; 22 23 dependencies = [ git ]; 24 25 nativeCheckInputs = [ 26 pytestCheckHook 27 git 28 ]; 29 30 disabledTests = [ "test_action_diff" ]; 31 32 passthru.tests.version = testers.testVersion { 33 package = mu-repo; 34 }; 35 36 meta = { 37 description = "Tool to help in dealing with multiple git repositories"; 38 homepage = "http://fabioz.github.io/mu-repo/"; 39 license = lib.licenses.gpl3; 40 platforms = lib.platforms.unix; 41 maintainers = with lib.maintainers; [ sikmir ]; 42 mainProgram = "mu"; 43 }; 44}