14 buildPythonPackage rec {
17 format = "setuptools";
19 src = fetchFromGitHub {
23 hash = "sha256-03EDarU7rmsiE96IYHXFuPtD8nWur0qwj8NDzSj8OX0=";
26 buildInputs = [ bashInteractive ]; # needed for bash-completion helper
31 propagatedBuildInputs = [
38 install -D -m444 contrib/osc.fish $out/etc/fish/completions/osc.fish
39 install -D -m555 contrib/osc.complete $out/share/bash-completion/helpers/osc-helper
40 mkdir -p $out/share/bash-completion/completions
41 cat >>$out/share/bash-completion/completions/osc <<EOF
42 test -z "\$BASH_VERSION" && return
43 complete -o default _nullcommand >/dev/null 2>&1 || return
44 complete -r _nullcommand >/dev/null 2>&1 || return
45 complete -o default -C $out/share/bash-completion/helpers/osc-helper osc
49 preCheck = "HOME=$TOP/tmp";
52 broken = stdenv.hostPlatform.isDarwin;
53 homepage = "https://github.com/openSUSE/osc";
54 description = "opensuse-commander with svn like handling";
56 maintainers = with maintainers; [
60 license = licenses.gpl2;