fava: 1.0 -> 1.2

This commit is contained in:
Matthias Beyer 2017-01-03 14:43:04 +01:00
parent 52d95487dd
commit cc0a5d589d

View File

@ -1,19 +1,17 @@
{ stdenv, pkgs, fetchurl, python3Packages, fetchFromGitHub, fetchzip, python3, beancount }:
python3Packages.buildPythonApplication rec {
version = "1.0";
version = "1.2";
name = "fava-${version}";
src = fetchFromGitHub {
owner = "beancount";
repo = "fava";
rev = "v${version}";
sha256 = "0dm4x6z80m04r9qa55psvz7f41qnh13hnj2qhvxkrk22yqmkqrka";
src = fetchurl {
url = "https://github.com/beancount/fava/archive/v${version}.tar.gz";
sha256 = "0sykx054w4cvr0pgbqph0lmkxffafl83k5ir252gl5znxgcvg6yw";
};
assets = fetchzip {
url = "https://github.com/aumayr/fava/releases/download/v${version}/beancount-fava-${version}.tar.gz";
sha256 = "1vvidwfn5882dslz6qqkkd84m7w52kd34x10qph8yhipyjv1dimc";
url = "https://github.com/beancount/fava/releases/download/v${version}/beancount-fava-${version}.tar.gz";
sha256 = "1lk6s3s6xvvwbcbkr1qpr9bqdgwspk3vms25zjd6xcs21s3hchmp";
};
buildInputs = with python3Packages; [ pytest_30 ];