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 { };