16 lines
395 B
Nix
16 lines
395 B
Nix
{ config, lib, pkgs, poetry2nix, ... }:
|
|
let
|
|
vals = builtins.fromJSON (builtins.readFile ../../sources/pyprland.json);
|
|
rev = vals.rev;
|
|
hash = vals.hash;
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "hyprland-community";
|
|
repo = "pyprland";
|
|
inherit rev hash;
|
|
};
|
|
in poetry2nix.mkPoetryApplication {
|
|
inherit src;
|
|
poetrylock = ./poetry.lock;
|
|
pyproject = "${src}/pyproject.toml";
|
|
}
|