chore: Initial commit

This commit is contained in:
lwad 2024-03-01 13:22:51 +00:00
commit df15a232c8
3 changed files with 51 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/example.md
/result

24
flake.lock Normal file
View File

@ -0,0 +1,24 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1709218635,
"narHash": "sha256-nytX/MkfqeTD4z7bMq4QRXcHxO9B3vRo9tM6fMtPFA8=",
"path": "/nix/store/azqs26b5xv7m4h00iqyhgdwbn12vqbvp-source",
"rev": "068d4db604958d05d0b46c47f79b507d84dbc069",
"type": "path"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

25
flake.nix Normal file
View File

@ -0,0 +1,25 @@
{
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;
};
}