Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 50 lines 947 B view raw
1{ 2 lib, 3 python3Packages, 4 fetchPypi, 5 git, 6 breezy, 7 subversion, 8}: 9 10with python3Packages; 11 12buildPythonApplication rec { 13 pname = "vcstool"; 14 version = "0.3.0"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "04b3a963e15386660f139e5b95d293e43e3cb414e3b13e14ee36f5223032ee2c"; 20 }; 21 22 build-system = with python3Packages; [ setuptools ]; 23 24 dependencies = [ 25 pyyaml 26 setuptools # pkg_resources is imported during runtime 27 ]; 28 29 makeWrapperArgs = [ 30 "--prefix" 31 "PATH" 32 ":" 33 (lib.makeBinPath [ 34 git 35 breezy 36 subversion 37 ]) 38 ]; 39 40 doCheck = false; # requires network 41 42 pythonImportsCheck = [ "vcstool" ]; 43 44 meta = with lib; { 45 description = "Provides a command line tool to invoke vcs commands on multiple repositories"; 46 homepage = "https://github.com/dirk-thomas/vcstool"; 47 license = licenses.asl20; 48 maintainers = with maintainers; [ sivteck ]; 49 }; 50}