peerix/default.nix

20 lines
384 B
Nix
Raw Normal View History

2021-10-17 06:01:40 -04:00
let
2021-10-17 06:14:55 -04:00
sources = import ./nix/sources.nix {};
in
{ pkgs ? import sources.nixpkgs {},
lib ? pkgs.lib,
...
}:
let
2021-10-17 06:01:40 -04:00
mach-nix = import sources.mach-nix {
inherit pkgs;
};
in
mach-nix.buildPythonApplication {
2021-10-17 06:14:55 -04:00
name = "peerix";
python = "python39";
src = lib.cleanSource ./.;
version = builtins.readFile ./VERSION;
requirements = builtins.readFile ./requirements.txt;
2021-10-17 06:01:40 -04:00
}