diff options
author | Jonas Heinrich <onny@project-insanity.org> | 2022-01-20 14:45:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 22:45:35 +0900 |
commit | 80475b46f52a1e28a70b1866c2a8edb071208ac8 (patch) | |
tree | c5e84003dcaf37cd1e23055861dadb8ca0ba19e0 /pkgs/servers/web-apps | |
parent | 98ae5a9298d8a8372b626f72b34388e7848b437a (diff) | |
download | nixpkgs-80475b46f52a1e28a70b1866c2a8edb071208ac8.tar nixpkgs-80475b46f52a1e28a70b1866c2a8edb071208ac8.tar.gz nixpkgs-80475b46f52a1e28a70b1866c2a8edb071208ac8.tar.bz2 nixpkgs-80475b46f52a1e28a70b1866c2a8edb071208ac8.tar.lz nixpkgs-80475b46f52a1e28a70b1866c2a8edb071208ac8.tar.xz nixpkgs-80475b46f52a1e28a70b1866c2a8edb071208ac8.tar.zst nixpkgs-80475b46f52a1e28a70b1866c2a8edb071208ac8.zip |
nixos/invoiceplane: init module and package at 1.5.11 (#146909)
Diffstat (limited to 'pkgs/servers/web-apps')
-rw-r--r-- | pkgs/servers/web-apps/invoiceplane/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/servers/web-apps/invoiceplane/default.nix b/pkgs/servers/web-apps/invoiceplane/default.nix new file mode 100644 index 00000000000..6c9ffd44b9d --- /dev/null +++ b/pkgs/servers/web-apps/invoiceplane/default.nix @@ -0,0 +1,32 @@ +{ lib, stdenv, fetchurl, writeText, unzip, nixosTests }: + +stdenv.mkDerivation rec { + pname = "invoiceplane"; + version = "1.5.11"; + + src = fetchurl { + url = "https://github.com/InvoicePlane/InvoicePlane/releases/download/v${version}/v${version}.zip"; + sha256 = "137g0xps4kb3j7f5gz84ql18iggbya6d9dnrfp05g2qcbbp8kqad"; + }; + + nativeBuildInputs = [ unzip ]; + + sourceRoot = "."; + + installPhase = '' + mkdir -p $out/ + cp -r . $out/ + ''; + + passthru.tests = { + inherit (nixosTests) invoiceplane; + }; + + meta = with lib; { + description = "Self-hosted open source application for managing your invoices, clients and payments"; + license = licenses.mit; + homepage = "https://www.invoiceplane.com"; + platforms = platforms.all; + maintainers = with maintainers; [ onny ]; + }; +} |