started new language

This commit is contained in:
didier committed 2025-12-25 22:27:06 -05:00
1 parent 20cfb3b829
commit 5b4ced047b
5 files changed
+116

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
{
description = "Pre-built CPU-only OpenCV packages for Python. ";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
system = system;
config.allowUnfree = true;
};
# to generate the deps.nix, first
# run `dotnet restore --packages out` which
# will put all the dependencies in the "out" directory.
# Second, run `nuget-to-nix out > deps.nix` to generate the
# deps.nix
project = pkgs.buildDotnetModule {
pname = "BazoukaPouf";
version = "0.1.0";
src = ./.;
nugetDeps = ./deps.nix;
projectFile = "BazoukaPouf/BazoukaPouf.csproj";
dotnetBuildFlags = [ "--no-self-contained" ];
dotnet-sdk = pkgs.dotnetCorePackages.sdk_10_0;
dotnet-runtime = pkgs.dotnetCorePackages.aspnetcore_10_0;
};
in {
packages = { project = project; };
devShells.default = pkgs.mkShell {
buildInputs = [ pkgs.dotnet-sdk_10 pkgs.nuget-to-json ];
};
});
}