python-robotframework-ride: bump 1.2.2 -> 1.2.3

Remove the now unneeded postPatch phase; the fix has been integrated
into the upstream release.
This commit is contained in:
Bjørn Forsman 2014-02-13 22:36:39 +01:00
parent b705e0d156
commit bf57fb7386

View File

@ -5990,23 +5990,16 @@ pythonPackages = modules // import ./python-packages-generated.nix {
robotframework-ride = buildPythonPackage rec {
version = "1.2.2";
version = "1.2.3";
name = "robotframework-ride-${version}";
src = fetchurl {
url = "https://robotframework-ride.googlecode.com/files/${name}.tar.gz";
sha256 = "1yfvl0hdjjkwk90w3f3i23dxxk3yiyv4pbvnp4l7yd6cmxsia8f3";
sha256 = "1lf5f4x80f7d983bmkx12sxcizzii21kghs8kf63a1mj022a5x5j";
};
propagatedBuildInputs = [ pygments wxPython modules.sqlite3 ];
# Stop copying (read-only) permission bits from the nix store into $HOME,
# because that leads to this:
# IOError: [Errno 13] Permission denied: '/home/bfo/.robotframework/ride/settings.cfg'
postPatch = ''
sed -i "s|shutil\.copy(|shutil.copyfile(|" src/robotide/preferences/settings.py
'';
# ride_postinstall.py checks that needed deps are installed and creates a
# desktop shortcut. We don't really need it and it clutters up bin/ so
# remove it.