Merge pull request #251937 from saschagrunert/osc
osc: 1.0.0b1 -> 1.3.0
This commit is contained in:
commit
c7e51b136c
@ -4,13 +4,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "osc";
|
||||
version = "1.0.0b1";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openSUSE";
|
||||
repo = "osc";
|
||||
rev = version;
|
||||
sha256 = "cMltsR4Nxe0plHU5cP2Lj/qqlIqRbCXi6FXP8qx7908=";
|
||||
sha256 = "sha256-gHcPqo3AuSrVprYUGLenC0kw9hKNmjabZ1m6YVMsNPs=";
|
||||
};
|
||||
|
||||
buildInputs = [ bashInteractive ]; # needed for bash-completion helper
|
||||
@ -18,8 +18,8 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [ urllib3 cryptography ];
|
||||
|
||||
postInstall = ''
|
||||
install -D -m444 osc.fish $out/etc/fish/completions/osc.fish
|
||||
install -D -m555 dist/osc.complete $out/share/bash-completion/helpers/osc-helper
|
||||
install -D -m444 contrib/osc.fish $out/etc/fish/completions/osc.fish
|
||||
install -D -m555 contrib/osc.complete $out/share/bash-completion/helpers/osc-helper
|
||||
mkdir -p $out/share/bash-completion/completions
|
||||
cat >>$out/share/bash-completion/completions/osc <<EOF
|
||||
test -z "\$BASH_VERSION" && return
|
||||
|
Loading…
Reference in New Issue
Block a user