about summary refs log tree commit diff
path: root/pkgs/applications/misc/wallust
diff options
context:
space:
mode:
authorGustavo Coutinho de Souza <dev@onemoresuza.mailer.me>2023-06-14 18:48:39 -0300
committerGustavo Coutinho de Souza <dev@onemoresuza.mailer.me>2023-06-14 18:48:39 -0300
commit68aeac65f5ad323ebe8d7784cac8960f7ad4dafe (patch)
tree7a9269db4be2ee63e9546825c37ebd72830260ac /pkgs/applications/misc/wallust
parenteff41f420fea03f5a5ed656eb2973e6be3be1fd8 (diff)
wallust: init at 2.4.1
Diffstat (limited to 'pkgs/applications/misc/wallust')
-rw-r--r--pkgs/applications/misc/wallust/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/misc/wallust/default.nix b/pkgs/applications/misc/wallust/default.nix
new file mode 100644
index 0000000000000..4755ce24b7d29
--- /dev/null
+++ b/pkgs/applications/misc/wallust/default.nix
@@ -0,0 +1,26 @@
+{lib, fetchgit, rustPlatform}:
+
+let
+  repoUrl = "https://codeberg.org/explosion-mental/wallust";
+in rustPlatform.buildRustPackage rec {
+  pname = "wallust";
+  version = "2.4.1";
+
+  src = fetchgit {
+    url = "${repoUrl}.git";
+    rev = version;
+    sha256 = "sha256-7zSUyj8Zzk8rsDe7ukPaV02HH7VQ+yjh+wM5TZzJxSA=";
+  };
+
+  cargoSha256 = "sha256-toqt5vqEsflhqFargEcCXrb6ab748mn6k6/RH5d/3RA=";
+
+  meta = with lib; {
+    description = "A better pywall";
+    homepage = repoUrl;
+    license = licenses.mit;
+    maintainers = with maintainers; [onemoresuza];
+    downloadPage = "${repoUrl}/releases/tag/${version}";
+    platforms = platforms.unix;
+    mainProgram = "wallust";
+  };
+}