Skip to content

Commit

Permalink
Add licensing information to Nix sources
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <[email protected]>
  • Loading branch information
nspin committed Oct 24, 2023
1 parent 5ac7b9c commit 5d62787
Show file tree
Hide file tree
Showing 61 changed files with 366 additions and 0 deletions.
6 changes: 6 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

import ./hacking/nix
6 changes: 6 additions & 0 deletions hacking/nix/cargo-manifest-generation-utils/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib
, callPackage
, runCommand, writeText, writeScript, linkFarm
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ runCommand, rustfmtWithTOMLSupport }:

unformatted:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ stdenv
, fetchFromGitHub
, rustToolchain
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

let

defaultNixpkgsSource =
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/overlay/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

self: super: with self;

let
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/overlay/python-overrides.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ glibcLocales }:

self: super: with self;
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/rust-utils/build-crate-in-layers.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, stdenv, buildPackages
, linkFarm, emptyDirectory
, crateUtils
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/rust-utils/build-sysroot.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, stdenv, buildPlatform, hostPlatform, buildPackages
, runCommand, linkFarm
, vendorLockfile, crateUtils, symlinkToRegularFile
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/rust-utils/crate-utils.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, buildPlatform, hostPlatform
, writeText, linkFarm, runCommand
, toTOMLFile
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/rust-utils/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib }:

self: with self;
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/rust-utils/prune-lockfile.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, runCommand
, crateUtils
, defaultRustToolchain
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/rust-utils/symlink-to-regular-file.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ runCommand }:

name: path:
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/rust-utils/to-toml-file.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ runCommand, remarshal }:

name: expr:
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/rust-utils/vendor-lockfile.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, runCommand, linkFarm
, fetchurl
, jq
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/capdl-tool/base-compat-0-11-2.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ mkDerivation, base, lib, unix }:
mkDerivation {
pname = "base-compat";
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/capdl-tool/base-compat-batteries-0-11-2.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ mkDerivation, base, base-compat, hspec, hspec-discover, lib
, QuickCheck
}:
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/capdl-tool/capDL-tool.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ mkDerivation, aeson, array, base, base-compat, bytestring
, containers, filepath, lens, lib, MissingH, mtl, parsec, pretty
, regex-compat, split, text, unix, yaml
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/capdl-tool/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, stdenv
, haskell
, sources
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/cmake-config-helpers.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib }:

let
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/crates.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib
, writeText
, crateUtils
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, stdenv
, buildPlatform, hostPlatform, targetPlatform
, pkgsBuildBuild
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/distribution.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib
, writeText
, crateUtils
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/embed-debug-info.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, runCommandCC
, sel4-backtrace-embedded-debug-cli
}:
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/generated-cargo-manifests/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, callPackage, newScope
, writeText, runCommand, linkFarm, writeScript
, runtimeShell
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/microkit/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, stdenv
, buildPackages, pkgsBuildBuild
, linkFarm, writeScript, runCommand
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/opensbi.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib
, stdenv
, fetchFromGitHub
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/plat-utils/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ callPackage }:

{
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/plat-utils/qemu/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib
, hostPlatform
, buildPackages
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/plat-utils/rpi4/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, hostPlatform, callPackage
, runCommand, writeText
, fetchFromGitHub
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/plat-utils/rpi4/u-boot.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, stdenv, hostPlatform, buildPackages
, fetchFromGitHub
, bc, bison, dtc, flex
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/registry.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib
, runCommand, writeText, linkFarm
, git
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/sel4/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, stdenv, writeText, buildPackages
, cmake, ninja
, dtc, libxml2
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/sel4test/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ stdenv, lib
, buildPackages, buildPlatform, hostPlatform
, writeText, writeScript, linkFarm
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/shell.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, stdenv, hostPlatform, buildPackages
, mkShell
, defaultRustToolchain
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/sources.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib
}:

Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/tools/cargo-helpers.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib
, buildCrateInLayersHere
, crateUtils
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/tools/cargo-index.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib
, rustPlatform, fetchFromGitHub
, pkgconfig, openssl
Expand Down
6 changes: 6 additions & 0 deletions hacking/nix/scope/world/capdl/dummy-capdl-spec.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib, emptyDirectory, linkFarm, writeText }:

{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ lib
, runCommand
, capdl-tool
Expand Down
Loading

0 comments on commit 5d62787

Please sign in to comment.