From 0ad7bc3e398af174bf5f7fad18cd4f1323ff5cf2 Mon Sep 17 00:00:00 2001 From: materus Date: Fri, 13 Sep 2024 21:46:43 +0200 Subject: [PATCH] flake: update lock --- flake.lock | 20 ++++++++++---------- pkgs/apps/maloja.nix | 31 +++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 10 deletions(-) create mode 100644 pkgs/apps/maloja.nix diff --git a/flake.lock b/flake.lock index 4ec1d6d..2a0cbf0 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1724412708, - "narHash": "sha256-tLr1k+UZLVumyqXRU8E5lBtLjsvHSy8e2NiamfkjpYg=", + "lastModified": 1726222338, + "narHash": "sha256-KuA8ciNR8qCF3dQaCaeh0JWyQUgEwkwDHr/f49Q5/e8=", "owner": "nix-community", "repo": "home-manager", - "rev": "b18f3ebc4029c22d437e3424014c8597a8b459a0", + "rev": "503af483e1b328691ea3a434d331995595fb2e3d", "type": "github" }, "original": { @@ -23,11 +23,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1724224976, - "narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=", + "lastModified": 1726062873, + "narHash": "sha256-IiA3jfbR7K/B5+9byVi9BZGWTD4VSbWe8VLpp9B/iYk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c374d94f1536013ca8e92341b540eba4c22f9c62", + "rev": "4f807e8940284ad7925ebd0a0993d2a1791acb2f", "type": "github" }, "original": { @@ -39,10 +39,10 @@ }, "nur": { "locked": { - "lastModified": 1723578304, - "narHash": "sha256-p/G1yrUyJ84lh0JpBHXMwNuHWLKLLKSpdIufPJljvY4=", - "path": "/nix/store/4bwi1xnp0wdss4kncd6sy1bx1d6a8r4w-source", - "rev": "c7ba591cead34c21172cca76f1aabcb130c40508", + "lastModified": 1726130808, + "narHash": "sha256-RVunrPgmrED3m43ZwLdZuM0+zKtJIMyxr6j7yPwpwHg=", + "path": "/nix/store/ymkmj47x7cb2kb286zy98xzmqm5nrl0v-source", + "rev": "d286b1c8121d3f150815181a4b6b72f5353ab2db", "type": "path" }, "original": { diff --git a/pkgs/apps/maloja.nix b/pkgs/apps/maloja.nix new file mode 100644 index 0000000..a5fd96a --- /dev/null +++ b/pkgs/apps/maloja.nix @@ -0,0 +1,31 @@ +{ lib, python3Packages }: +with python3Packages; +buildPythonApplication rec { + pname = "maloja"; + version = "3.2.2"; + + propagatedBuildInputs = [ + bottle + waitress + doreah + nimrodel + setproctitle + jinja2 + lru-dict + psutil + sqlalchemy + python-datauri + requests + setuptools + toml + pyyaml + ]; + + src = fetchFromGitHub { + owner = "krateng"; + repo = "maloja"; + rev = "v${version}"; + sha256 = ""; + }; + +}