Unverified Commit 68d4a23d authored by Ryan Lahfa's avatar Ryan Lahfa Committed by GitHub
Browse files

nix-run: init at 0.1.0.0-alpha.2 (#464655)

parents 90c299bf 99c5f449
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{
  mkDerivation,
  attoparsec,
  base,
  fetchgit,
  filepath,
  hercules-ci-optparse-applicative,
  hpack,
  lib,
  nix-derivation,
  process,
  relude,
  unix,
}:
mkDerivation rec {
  pname = "nix-run";
  version = "0.1.0.0-alpha.2";
  src = fetchgit {
    url = "https://tangled.org/weethet.bsky.social/nix-run";
    tag = version;
    hash = "sha256-vnYD3N32H6eEPLis8eNlglXVY+guP5DDKCf2z7CLzwA=";
  };
  isLibrary = false;
  isExecutable = true;
  libraryToolDepends = [ hpack ];
  executableHaskellDepends = [
    attoparsec
    base
    filepath
    hercules-ci-optparse-applicative
    nix-derivation
    process
    relude
    unix
  ];
  prePatch = "hpack";
  homepage = "https://tangled.org/@weethet.bsky.social/nix-run";
  license = lib.licenses.bsd3;
  mainProgram = "nix-run";
}
+7 −0
Original line number Diff line number Diff line
{ lib, haskellPackages }:
(haskellPackages.callPackage ./nix-run.nix { }).overrideAttrs (old: {
  meta = old.meta // {
    description = "A non-experimental replacement for nix run";
    maintainers = [ lib.maintainers.WeetHet ];
  };
})