nixpkgs/pkgs/development/tools/haskell/intero-nix-shim/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

28 lines
793 B
Nix

{ mkDerivation, base, cabal-install, directory, fetchFromGitHub
, filepath, intero, optparse-applicative, posix-escape, split
, stdenv, unix
}:
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
];
postInstall = ''
mkdir -p $out/libexec
ln -s ${cabal-install}/bin/cabal $out/libexec
ln -s ${intero }/bin/intero $out/libexec
'';
homepage = https://github.com/michalrus/intero-nix-shim;
license = stdenv.lib.licenses.asl20;
}