From 8b7d11be7a4ab77e131cf80d2fc72f381ad938d1 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Mon, 6 Feb 2023 17:46:12 +0100 Subject: TODO: Animdl --- hosts/home.nix | 1 + packages/animdl/default.nix | 30 ++++++++++++++++++++++++++++++ packages/default.nix | 1 + 3 files changed, 32 insertions(+) create mode 100644 packages/animdl/default.nix diff --git a/hosts/home.nix b/hosts/home.nix index 67e59d8..c884d68 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -58,6 +58,7 @@ (with pkgs.custom; [ lemacs kindlegen + animdl ]); }; diff --git a/packages/animdl/default.nix b/packages/animdl/default.nix new file mode 100644 index 0000000..3613e2f --- /dev/null +++ b/packages/animdl/default.nix @@ -0,0 +1,30 @@ +{ lib +, pkgs +, callPackage +, fetchFromGitHub +}: + +pkgs.python39.pkgs.buildPythonPackage rec { + pname = "animdl"; + version = "TODO"; + format = "pyproject"; + + src = fetchFromGitHub { + owner = "justfoolingaround"; + repo = "animdl"; + rev = "bb3701ec8ae0ee5d4606121d310f9b3922e29cb4"; + hash = "sha256-OOBxpVXadtTLd45i3aJRzUy1TZKF+ImKu/tzz15ih/A="; + }; + + propagatedBuildInputs = with pkgs.python39.pkgs; [ + poetry-core + tqdm + ]; + + meta = with lib; { + description = "Self-contained cryptographic library"; + homepage = "https://github.com/Legrandin/pycryptodome"; + license = with licenses; [ bsd2 /* and */ asl20 ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/packages/default.nix b/packages/default.nix index 4f00524..fb2ebdb 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -3,5 +3,6 @@ final: prev: custom = { kindlegen = prev.callPackage ./kindlegen { }; lemacs = prev.callPackage ./lemacs { }; + animdl = prev.callPackage ./animdl { }; }; } -- cgit 1.4.1