first commit
This commit is contained in:
commit
4b34fbf826
8 changed files with 428 additions and 0 deletions
27
default.nix
Normal file
27
default.nix
Normal 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";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue