forked from mirrors/nixpkgs
1504df58e2
missing setuptools ``` $ ./results/vcstool/bin/vcs --help Traceback (most recent call last): File "/nix/store/m9w0gapwnwffhnvyv3ds14mgbx2p5y93-vcstool-0.2.7/bin/.vcs-wrapped", line 6, in <module> from vcstool.commands.vcs import main File "/nix/store/m9w0gapwnwffhnvyv3ds14mgbx2p5y93-vcstool-0.2.7/lib/python3.7/site-packages/vcstool/commands/vcs.py", line 5, in <module> from vcstool.commands.help import get_entrypoint File "/nix/store/m9w0gapwnwffhnvyv3ds14mgbx2p5y93-vcstool-0.2.7/lib/python3.7/site-packages/vcstool/commands/help.py", line 6, in <module> from pkg_resources import load_entry_point ModuleNotFoundError: No module named 'pkg_resources' ```
28 lines
728 B
Nix
28 lines
728 B
Nix
{ stdenv, python3Packages
|
|
, git, bazaar, subversion }:
|
|
|
|
with python3Packages;
|
|
|
|
buildPythonApplication rec {
|
|
pname = "vcstool";
|
|
version = "0.2.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1mq8lmb1wh55cqdj7javq7qia4217h6vf5ljc99gsjyibi7g7d3k";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pyyaml setuptools ];
|
|
|
|
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;
|
|
maintainers = with maintainers; [ sivteck ];
|
|
};
|
|
}
|