|
|
|
@ -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 ]; |
|
|
|
|