26 lines
725 B
Nix
26 lines
725 B
Nix
{
|
|
description = "An interactive, terminal-based markdown presenter ";
|
|
inputs.nixpkgs.url = "nixpkgs";
|
|
outputs = { self, nixpkgs }: {
|
|
packages = nixpkgs.lib.mapAttrs (system: pkgs: {
|
|
default = with pkgs.python311Packages;
|
|
buildPythonPackage rec {
|
|
pname = "lookatme";
|
|
version = "2.5.5";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname;
|
|
inherit version;
|
|
hash = "sha256-blmBPNa9xp6C3Xp5uyrBroKInpNDxJnWuxj3eoUkLes=";
|
|
};
|
|
|
|
propagatedBuildInputs =
|
|
[ click marshmallow mistune pygments pyyaml urwid ];
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
};
|
|
}) nixpkgs.legacyPackages;
|
|
};
|
|
}
|