nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

osc: update to version 1.0.0-beta1

+8 -7
+8 -7
pkgs/development/python-modules/osc/default.nix
··· 1 - { stdenv, lib, buildPythonPackage, fetchFromGitHub, bashInteractive, urlgrabber 2 - , m2crypto, rpm, chardet 1 + { stdenv, lib, buildPythonPackage, fetchFromGitHub, bashInteractive 2 + , rpm, urllib3, cryptography, diffstat 3 3 }: 4 4 5 5 buildPythonPackage rec { 6 6 pname = "osc"; 7 - version = "0.170.0"; 7 + version = "1.0.0b1"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "openSUSE"; 11 11 repo = "osc"; 12 12 rev = version; 13 - sha256 = "10dj9kscz59qm8rw5084gf0m8ail2rl7r8rg66ij92x88wvi9mbz"; 13 + sha256 = "cMltsR4Nxe0plHU5cP2Lj/qqlIqRbCXi6FXP8qx7908="; 14 14 }; 15 15 16 16 buildInputs = [ bashInteractive ]; # needed for bash-completion helper 17 - checkInputs = [ rpm ]; 18 - propagatedBuildInputs = [ urlgrabber m2crypto chardet ]; 17 + checkInputs = [ rpm diffstat ]; 18 + propagatedBuildInputs = [ urllib3 cryptography ]; 19 19 20 20 postInstall = '' 21 - ln -s $out/bin/osc-wrapper.py $out/bin/osc 22 21 install -D -m444 osc.fish $out/etc/fish/completions/osc.fish 23 22 install -D -m555 dist/osc.complete $out/share/bash-completion/helpers/osc-helper 24 23 mkdir -p $out/share/bash-completion/completions ··· 28 29 complete -o default -C $out/share/bash-completion/helpers/osc-helper osc 29 30 EOF 30 31 ''; 32 + 33 + preCheck = "HOME=$TOP/tmp"; 31 34 32 35 meta = with lib; { 33 36 broken = stdenv.isDarwin;