python-osc: update from 0.164.4 to 0.167.1

This commit is contained in:
Peter Simons 2019-12-21 10:35:50 +01:00
parent 2a60519881
commit f5bb6c0207

View File

@ -1,23 +1,20 @@
{ stdenv, buildPythonPackage , fetchFromGitHub { stdenv, buildPythonPackage , fetchFromGitHub , bashInteractive , urlgrabber, m2crypto, rpm }:
, bashInteractive , urlgrabber, m2crypto
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "osc"; pname = "osc";
version = "0.165.4"; version = "0.167.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "openSUSE"; owner = "openSUSE";
repo = "osc"; repo = "osc";
rev = version; rev = version;
sha256 = "1f8q65wlgchzwzarwrv6a0p60gw0ykpf4d5s7cks835hyawgcbyl"; sha256 = "0f3c6mzvk9yjicwfdh47j4s2l1wrfgpa6lmqdchasdqfsacps4r6";
}; };
buildInputs = [ bashInteractive ]; # needed for bash-completion helper buildInputs = [ bashInteractive ]; # needed for bash-completion helper
checkInputs = [ rpm ];
propagatedBuildInputs = [ urlgrabber m2crypto ]; propagatedBuildInputs = [ urlgrabber m2crypto ];
doCheck = false;
postInstall = '' postInstall = ''
ln -s $out/bin/osc-wrapper.py $out/bin/osc ln -s $out/bin/osc-wrapper.py $out/bin/osc
install -D -m444 osc.fish $out/etc/fish/completions/osc.fish install -D -m444 osc.fish $out/etc/fish/completions/osc.fish
@ -32,6 +29,7 @@ buildPythonPackage rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/openSUSE/osc";
description = "opensuse-commander with svn like handling"; description = "opensuse-commander with svn like handling";
maintainers = [ maintainers.peti ]; maintainers = [ maintainers.peti ];
license = licenses.gpl2; license = licenses.gpl2;