From 4e7f6f1a00911381e5fd1acc95f6ddc4ec7e7cdc Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 14 May 2022 22:57:08 +0800 Subject: [PATCH] artem: init at 1.0.3 --- pkgs/artem.nix | 21 +++++++++++++++++++++ pkgs/default.nix | 1 + 2 files changed, 22 insertions(+) create mode 100644 pkgs/artem.nix diff --git a/pkgs/artem.nix b/pkgs/artem.nix new file mode 100644 index 00000000..1ba5fc5e --- /dev/null +++ b/pkgs/artem.nix @@ -0,0 +1,21 @@ +{ stdenv, lib, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "artem"; + version = "1.0.3"; + + src = fetchFromGitHub { + owner = "FineFindus"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-1unGpJA5SXVj+uZAXwiQyY9dYo3UkiX0MG+YYPbA8ac="; + }; + + cargoSha256 = "sha256-PBJU78j7YlNi0YQ9+LJafdHiCXXKsP43wHTIUZG3Zgs="; + + meta = with lib; { + homepage = "https://github.com/FineFindus/artem"; + description = "Command-line application for converting images to ASCII art."; + license = licenses.mpl20; + }; +} diff --git a/pkgs/default.nix b/pkgs/default.nix index 1e848b36..91ba9465 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -6,6 +6,7 @@ let packages = self: let callPackage = newScope self; in { + artem = callPackage ./artem.nix { }; auto-editor = callPackage ./auto-editor.nix { }; blueprint-compiler = callPackage ./blueprint-compiler.nix { }; butler = callPackage ./butler.nix { };