instala programas para RapidSilicon

This commit is contained in:
fabianmontero-rs 2022-11-30 00:18:44 -06:00 committed by Fabián Montero
parent 0bdad7bc4e
commit 41440f6eeb
3 changed files with 25 additions and 0 deletions

View file

@ -50,6 +50,8 @@
};
};
localPkgs = import ./pkgs;
platforms = domain:
map
(lib.removeSuffix ".nix")
@ -63,11 +65,13 @@
nixosConfigurations = configs "base" base;
homeConfigurations = configs "home" home;
packages."${system}" = localPkgs pkgs;
overlay = self: super: {
unstable = import unstable {
inherit(super) config system;
};
local = localPkgs self;
};
};
}

17
pkgs/andesight.nix Normal file
View file

@ -0,0 +1,17 @@
{ lib, stdenv, ... }:
with lib;
let
version = "510_STD";
in
stdenv.mkDerivation {
pname = "andesight";
inherit version;
src = requireFile {
name = "AndeSight_${version}_OFFICIAL_Linux_x64_COPILOT600Beta.tgz";
sha256 = fakeSha256; #"ycz2s9w68gnc7h5rz5fk5hl96zz2hlfl";
url = "http://www.andestech.com/en/support-downloads/andesight-ide-download/";
};
meta.license = licenses.unfree;
}

4
pkgs/default.nix Normal file
View file

@ -0,0 +1,4 @@
pkgs:
{
andesight = pkgs.callPackage ./andesight.nix {};
}