summary refs log tree commit diff
path: root/pkgs/development/tools/vcstool
diff options
context:
space:
mode:
authorSivaram Balakrishnan <sivaram@iyangi.com>2017-09-18 18:56:08 +0530
committerSivaram Balakrishnan <sivaram@iyangi.com>2017-09-20 14:08:16 +0530
commit62a884e0c70e437ce4d914493fcaeb8358944fc0 (patch)
tree398b1611329c893561e8196d936772095ea09bbb /pkgs/development/tools/vcstool
parent1908e5efa4f3bb80d4447da594e4a68063e2d67b (diff)
downloadnixlib-62a884e0c70e437ce4d914493fcaeb8358944fc0.tar
nixlib-62a884e0c70e437ce4d914493fcaeb8358944fc0.tar.gz
nixlib-62a884e0c70e437ce4d914493fcaeb8358944fc0.tar.bz2
nixlib-62a884e0c70e437ce4d914493fcaeb8358944fc0.tar.lz
nixlib-62a884e0c70e437ce4d914493fcaeb8358944fc0.tar.xz
nixlib-62a884e0c70e437ce4d914493fcaeb8358944fc0.tar.zst
nixlib-62a884e0c70e437ce4d914493fcaeb8358944fc0.zip
vcstool: init at 0.1.31
Adds vcstool application. Initial work to get ROS2 packages on Nix.
Diffstat (limited to 'pkgs/development/tools/vcstool')
-rw-r--r--pkgs/development/tools/vcstool/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/tools/vcstool/default.nix b/pkgs/development/tools/vcstool/default.nix
new file mode 100644
index 000000000000..fae0ca88124f
--- /dev/null
+++ b/pkgs/development/tools/vcstool/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, python3Packages
+, git, bazaar, subversion }:
+
+with python3Packages;
+
+buildPythonApplication rec {
+  name = "${pname}-${version}";
+  pname = "vcstool";
+  version = "0.1.31";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0n2zkvy2km9ky9lljf1mq5nqyqi5qqzfy2a6sgkjg2grvsk7abxc";
+  };
+
+  propagatedBuildInputs = [ pyyaml ];
+
+  makeWrapperArgs = ["--prefix" "PATH" ":" "${stdenv.lib.makeBinPath [ git bazaar subversion ]}"];
+
+  doCheck = false; # requires network
+
+  meta = with stdenv.lib; {
+    description = "Provides a command line tool to invoke vcs commands on multiple repositories";
+    homepage = https://github.com/dirk-thomas/vcstool;
+    license = licenses.asl20;
+    maintainer = with maintainers; [ sivteck ];
+  };
+}