about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-06 17:46:12 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-06 17:46:12 +0100
commit8b7d11be7a4ab77e131cf80d2fc72f381ad938d1 (patch)
tree3364dff59e8f3c89908443dd7b4162cf81848a9a
parentMisc: Update README and documentation (diff)
downloadnixos-config-animdl.tar.gz
nixos-config-animdl.tar.bz2
nixos-config-animdl.zip
TODO: Animdl animdl
-rw-r--r--hosts/home.nix1
-rw-r--r--packages/animdl/default.nix30
-rw-r--r--packages/default.nix1
3 files changed, 32 insertions, 0 deletions
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 { };
   };
 }