first commit

This commit is contained in:
Yehowshua Immanuel 2024-11-17 09:20:29 -05:00
commit 4b34fbf826
8 changed files with 428 additions and 0 deletions

27
default.nix Normal file
View file

@ -0,0 +1,27 @@
{ pkgs ? import (fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/refs/tags/24.05.tar.gz";
}) {} }:
let
haskellPackages = pkgs.haskell.packages.ghc948;
haskellDeps = [
haskellPackages.base
haskellPackages.parsec
haskellPackages.filepath
haskellPackages.pretty-show
haskellPackages.prettyprinter
];
in
pkgs.haskellPackages.mkDerivation {
pname = "haskellator";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = haskellDeps;
executableHaskellDepends = haskellDeps;
homepage = "https://github.com/JoyOfHardware/haskellator#readme";
license = pkgs.lib.licenses.gpl3Only;
mainProgram = "rtlil-parse";
}