Merge branch 'intero-nix-shim' of git://github.com/michalrus/nixpkgs

This commit is contained in:
Shea Levy 2017-05-03 17:59:26 -04:00
commit 2aae62fad6
2 changed files with 24 additions and 0 deletions

View file

@ -684,6 +684,9 @@ self: super: {
store = self.store_0_3_1;
});
# It makes no sense to have intero-nix-shim in Hackage, so we publish it here only.
intero-nix-shim = self.callPackage ../tools/haskell/intero-nix-shim {};
# The latest Hoogle needs versions not yet in LTS Haskell 7.x.
hoogle = super.hoogle.override { haskell-src-exts = self.haskell-src-exts_1_19_1; };

View file

@ -0,0 +1,21 @@
{ mkDerivation, base, directory, filepath, optparse-applicative
, posix-escape, split, stdenv, unix, fetchFromGitHub
}:
mkDerivation {
pname = "intero-nix-shim";
version = "0.1.2";
src = fetchFromGitHub {
owner = "michalrus";
repo = "intero-nix-shim";
rev = "0.1.2";
sha256 = "0p1h3w15bgvsbzi7f1n2dxxxz9yq7vmbxmww5igc5d3dm76skgzg";
};
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
base directory filepath optparse-applicative posix-escape split
unix
];
homepage = "https://github.com/michalrus/intero-nix-shim";
license = stdenv.lib.licenses.asl20;
}