flake: Add a NixOS flake

This commit is contained in:
2023-08-20 20:22:42 +02:00
parent 801d7d73d9
commit d2c60e0c87
4 changed files with 143 additions and 0 deletions

25
pkgs/pubcached.nix Normal file
View File

@@ -0,0 +1,25 @@
{
lib
, python3Packages
}:
python3Packages.buildPythonApplication {
pname = "pubcached";
version = "0.1.0";
src = ./../.;
doCheck = false;
propagatedBuildInputs = with python3Packages; [
loguru aiofiles requests falcon toml uvicorn
];
meta = with lib; {
homepage = "https://git.polynom.me/PapaTutuWawa/pubcached";
description = "Caching proxy for pub.dev";
license = licenses.mit;
maintainers = [];
platforms = platforms.linux;
};
}