added requirements.txt and nix flake

This commit is contained in:
2025-05-19 11:10:10 -07:00
parent f7e4903bd6
commit de34c5922c
3 changed files with 66 additions and 0 deletions

36
flake.nix Normal file
View File

@ -0,0 +1,36 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs =
{ self, nixpkgs }:
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in
with pkgs;
{
devShells.x86_64-linux.default = mkShell {
buildInputs = with python3Packages; [
hy
(buildPythonPackage rec {
pname = "hyrule";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-SZyFjXNs6thVWhKbajYelY0DoRYqrcCQcdKMNC5t6Og=";
};
propagatedBuildInputs = [
pip
wheel
hy
];
})
bleach
validators
];
};
};
}