depot/third_party/nixpkgs/pkgs/development/tools/vcstool/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

27 lines
734 B
Nix

{ lib, python3Packages, fetchPypi
, git, breezy, subversion }:
with python3Packages;
buildPythonApplication rec {
pname = "vcstool";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "04b3a963e15386660f139e5b95d293e43e3cb414e3b13e14ee36f5223032ee2c";
};
propagatedBuildInputs = [ pyyaml setuptools ];
makeWrapperArgs = ["--prefix" "PATH" ":" (lib.makeBinPath [ git breezy subversion ])];
doCheck = false; # requires network
meta = with lib; {
description = "Provides a command line tool to invoke vcs commands on multiple repositories";
homepage = "https://github.com/dirk-thomas/vcstool";
license = licenses.asl20;
maintainers = with maintainers; [ sivteck ];
};
}