removed nix dev files

This commit is contained in:
Felix 2024-12-28 11:19:02 +01:00 committed by Xelef2000
parent 29ddabd38b
commit 96ac964a34
3 changed files with 0 additions and 143 deletions

View file

@ -1,23 +0,0 @@
{ stdenv, pkgs, lib }:
pkgs.stdenv.mkDerivation rec {
name = "cros-ectool";
nativeBuildInputs = with pkgs; [ cmake ninja pkg-config libusb1 libftdi1 ];
src = builtins.fetchGit {
url = "git@github.com:Xelef2000/ectool.git";
rev = "a734465bdd16e6b535b080aeafb72461cfadc3f2";
allRefs = true;
};
installPhase = ''
mkdir -p $out/bin
cp src/ectool $out/bin/ectool
'';
meta = with lib; {
description = "ectool for ChromeOS devices";
homepage = "https://gitlab.howett.net/DHowett/ectool";
license = licenses.bsd3;
maintainers = with maintainers; [ ChocolateLoverRaj ];
platforms = platforms.linux;
mainProgram = "ectool";
};
}

57
flake.lock generated
View file

@ -1,57 +0,0 @@
{
"nodes": {
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1733312601,
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
"type": "github"
},
"original": {
"id": "flake-parts",
"type": "indirect"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1731319897,
"narHash": "sha256-PbABj4tnbWFMfBp6OcUK5iGy1QY+/Z96ZcLpooIbuEI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "dc460ec76cbff0e66e269457d7b728432263166c",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1733096140,
"narHash": "sha256-1qRH7uAUsyQI7R1Uwl4T+XvdNv778H0Nb5njNrqvylY=",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz"
}
},
"root": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View file

@ -1,63 +0,0 @@
{
description = "C++ Development with Nix in 2023";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"x86_64-linux"
];
perSystem = { config, self', inputs', pkgs, system, ... }: {
devShells.default = pkgs.mkShell {
shellHook = ''
${pkgs.bash}/bin/bash
'';
packages = with pkgs; [
boost
meson
ninja
gcc
libglibutil
pkg-config
catch2
cmake
go-task
eigen
opencv
clang-tools
glib
glibc
gusb
gobject-introspection
pixman
cairo
cairomm
cairosvg
nss
libgudev
gtk-doc
gdb
valgrind
umockdev
python312Packages.pygobject3
python312Packages.pygobject-stubs
tshark
# (pkgs.callPackage ./cros-ectool.nix { })
# Add libfprint with an override
(pkgs.libfprint.overrideAttrs (oldAttrs: {
src = pkgs.fetchFromGitHub {
owner = "Xelef2000";
repo = "libfprint";
rev = "05bd17f8eb3cd25e367c67f153d93d3a3bc61c52";
hash = "sha256-ySifkClM6qjDlm8iPMwWngHs5PrB1reddreziIUEs5k=";
};
}))
];
};
};
};
}