Skip to content

Commit

Permalink
hvega: init
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavsagar committed Nov 4, 2024
1 parent 1687f41 commit b86f877
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions hvega/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{ system ? builtins.currentSystem }:
let
pkgs = import ../pkgs.nix;
overlay = sel: sup: {
nix-filter = import pkgs.nix-filter;
};
nixpkgs = (import pkgs.nixpkgs { inherit system; overlays = [ overlay ]; });
jupyterlab = nixpkgs.python3.withPackages (ps: [ ps.jupyterlab ps.notebook ]);
hvega-src = builtins.fetchTarball {
url = "https://github.com/vaibhavsagar/hvega/tarball/5dd4147d619305b0288b9831ddb805e049e85ea5";
sha256 = "sha256:1zaqvc0id5xagfzvlzxr8xaa7k4n4xbmvi68p7xz91rr960chi1c";
};
ihaskell-hvega = nixpkgs.haskellPackages.callCabal2nix "ihaskell-hvega" "${hvega-src}/ihaskell-hvega" {};
in nixpkgs.callPackage "${pkgs.ihaskell}/nix/release.nix" { compiler = "ghc96"; }{
extraEnvironmentBinaries = [ jupyterlab ];
packages = self: with self; [ here ihaskell-hvega ];
}

0 comments on commit b86f877

Please sign in to comment.