adding release files

dev
Claudius Holeksa 2023-01-30 20:10:34 +01:00
parent 4f10da77eb
commit f60f636cef
3 changed files with 35 additions and 10 deletions

32
.nix/derivation.nix Normal file
View File

@ -0,0 +1,32 @@
{ lib
, stdenv
, zlib
, fetchFromGitHub
, scons
, pkg-config
, clang_12
, clang-tools
, gnutls
}:
stdenv.mkDerivation {
pname = "forstio";
version = "0.0.0";
buildInputs = [scons clang_12 clang-tools gnutls];
src = ./..;
doCheck = true;
enableParallelBuilding = true;
outputs = ["out" "dev"];
meta = with lib; {
homepage = "https://github.com/keldu/forstio";
description = "An asynchronous framework with some additional network features";
platforms = platforms.unix;
maintainers = with maintainers; [keldu];
};
}

View File

@ -1,10 +0,0 @@
with import <nixpkgs> {};
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
name = "forstio";
nativeBuildInputs = [ scons gnutls clang_12 clang-tools];
buildPhase = ''
'';
}

3
default.nix Normal file
View File

@ -0,0 +1,3 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.callPackage ./.nix/derivation.nix {}