summaryrefslogtreecommitdiff
path: root/pkgs/applications/office/beancount/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/office/beancount/default.nix')
-rw-r--r--pkgs/applications/office/beancount/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/applications/office/beancount/default.nix b/pkgs/applications/office/beancount/default.nix
index 77fcb8ce7e91..2034c832294f 100644
--- a/pkgs/applications/office/beancount/default.nix
+++ b/pkgs/applications/office/beancount/default.nix
@@ -1,14 +1,13 @@
{ stdenv, fetchhg, pkgs, pythonPackages }:
pythonPackages.buildPythonApplication rec {
- version = "2016-04-10-b5721f1c6f01bd168a5781652e5e3167f7f8ceb3";
+ version = "2.0b12";
name = "beancount-${version}";
namePrefix = "";
- src = fetchhg {
- url = "https://bitbucket.org/blais/beancount";
- rev = "b5721f1c6f01bd168a5781652e5e3167f7f8ceb3";
- sha256 = "10nv3p9cix7yp23a9hnq5163rpl8cfs3hv75h90ld57dc24nxzn2";
+ src = pkgs.fetchurl {
+ url = "mirror://pypi/b/beancount/${name}.tar.gz";
+ sha256 = "0n0wyi2yhmf8l46l5z68psk4rrzqkgqaqn93l0wnxsmp1nmqly9z";
};
buildInputs = with pythonPackages; [ nose ];