2015-07-31 01:30:15 +02:00
|
|
|
{ stdenv, fetchurl, pythonPackages }:
|
2008-01-18 11:29:58 +01:00
|
|
|
|
2016-09-26 14:15:19 +02:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2016-06-18 23:46:32 +02:00
|
|
|
version = "2.7";
|
2014-02-04 18:43:21 +01:00
|
|
|
release = ".0";
|
2010-08-12 21:53:38 +02:00
|
|
|
name = "bazaar-${version}${release}";
|
2008-01-18 11:29:58 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-06-18 23:46:32 +02:00
|
|
|
url = "https://launchpad.net/bzr/${version}/${version}${release}/+download/bzr-${version}${release}.tar.gz";
|
|
|
|
sha256 = "1cysix5k3wa6y7jjck3ckq3abls4gvz570s0v0hxv805nwki4i8d";
|
2008-01-18 11:29:58 +01:00
|
|
|
};
|
|
|
|
|
2016-09-26 14:15:19 +02:00
|
|
|
doCheck = false;
|
2008-01-18 11:29:58 +01:00
|
|
|
|
2014-02-04 18:43:21 +01:00
|
|
|
# Bazaar can't find the certificates alone
|
|
|
|
patches = [ ./add_certificates.patch ];
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace bzrlib/transport/http/_urllib2_wrappers.py \
|
2015-07-31 01:30:15 +02:00
|
|
|
--subst-var-by certPath /etc/ssl/certs/ca-certificates.crt
|
2014-02-04 18:43:21 +01:00
|
|
|
'';
|
|
|
|
|
2008-01-18 11:29:58 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://bazaar-vcs.org/;
|
|
|
|
description = "A distributed version control system that Just Works";
|
2014-06-22 08:57:05 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2008-01-18 11:29:58 +01:00
|
|
|
};
|
|
|
|
}
|