nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 59 lines 1.4 kB view raw
1{ 2 fetchFromGitHub, 3 lib, 4 stdenv, 5 gtk3, 6 pkg-config, 7 libgsf, 8 libofx, 9 autoreconfHook, 10 intltool, 11 wrapGAppsHook3, 12 adwaita-icon-theme, 13 nix-update-script, 14}: 15 16stdenv.mkDerivation (finalAttrs: { 17 pname = "grisbi"; 18 version = "3.0.4"; 19 20 src = fetchFromGitHub { 21 owner = "grisbi"; 22 repo = "grisbi"; 23 tag = "upstream_version_${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}"; 24 hash = "sha256-3E57M/XE4xyo3ppVceDA4OFDnVicosCY8ikE2gDJoUQ="; 25 }; 26 27 nativeBuildInputs = [ 28 pkg-config 29 wrapGAppsHook3 30 intltool 31 autoreconfHook 32 ]; 33 34 buildInputs = [ 35 gtk3 36 libgsf 37 libofx 38 adwaita-icon-theme 39 ]; 40 41 passthru.updateScript = nix-update-script { }; 42 43 meta = with lib; { 44 description = "Personnal accounting application"; 45 mainProgram = "grisbi"; 46 longDescription = '' 47 Grisbi is an application written by French developers, so it perfectly 48 respects French accounting rules. Grisbi can manage multiple accounts, 49 currencies and users. It manages third party, expenditure and receipt 50 categories, budgetary lines, financial years, budget estimates, bankcard 51 management and other information that make Grisbi adapted for 52 associations. 53 ''; 54 homepage = "https://grisbi.org"; 55 license = licenses.gpl2Plus; 56 maintainers = with maintainers; [ layus ]; 57 platforms = platforms.linux; 58 }; 59})