1{ stdenv, python3Packages
2, git, bazaar, subversion }:
3
4with python3Packages;
5
6buildPythonApplication rec {
7 name = "${pname}-${version}";
8 pname = "vcstool";
9 version = "0.1.31";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "0n2zkvy2km9ky9lljf1mq5nqyqi5qqzfy2a6sgkjg2grvsk7abxc";
14 };
15
16 propagatedBuildInputs = [ pyyaml ];
17
18 makeWrapperArgs = ["--prefix" "PATH" ":" "${stdenv.lib.makeBinPath [ git bazaar subversion ]}"];
19
20 doCheck = false; # requires network
21
22 meta = with stdenv.lib; {
23 description = "Provides a command line tool to invoke vcs commands on multiple repositories";
24 homepage = https://github.com/dirk-thomas/vcstool;
25 license = licenses.asl20;
26 maintainers = with maintainers; [ sivteck ];
27 };
28}