35 lines
445 B
Nix
35 lines
445 B
Nix
{
|
|
pkgs ? import <nixpkgs> { },
|
|
}:
|
|
|
|
let
|
|
inherit (pkgs)
|
|
lib
|
|
buildNimPackage
|
|
fetchFromGitea
|
|
libxml2
|
|
libxslt
|
|
openssl
|
|
pkg-config
|
|
postgresql
|
|
sqlite
|
|
;
|
|
in
|
|
|
|
buildNimPackage {
|
|
pname = "syndicate_utils";
|
|
version = "unstable";
|
|
|
|
src = if lib.inNixShell then null else lib.cleanSource ./.;
|
|
|
|
buildInputs = [
|
|
postgresql.out
|
|
sqlite
|
|
libxml2
|
|
libxslt
|
|
openssl
|
|
];
|
|
|
|
lockFile = ./lock.json;
|
|
}
|