947e7d80b4
The main two changes are 1. Completely rewrite how with-packages works to remove use of envHooks 2. The package description is now an idris specific set rather than being a subset of the arguments to mkDerivation. This mirrors the way Haskell packages are treated.
33 lines
673 B
Nix
33 lines
673 B
Nix
{ build-idris-package
|
|
, fetchgit
|
|
, prelude
|
|
, base
|
|
, effects
|
|
, lib
|
|
, idris
|
|
}:
|
|
|
|
let
|
|
date = "2017-11-11";
|
|
in
|
|
build-idris-package {
|
|
name = "specdris";
|
|
version = date;
|
|
|
|
src = fetchgit {
|
|
url = "https://github.com/pheymann/specdris";
|
|
rev = "88b80334b8e0b6601324e2410772d35022fc8eaa";
|
|
sha256 = "4813c4be1d4c3dd1dad35964b085f83cf9fb44b16824257c72b468d4bafd0e4f";
|
|
};
|
|
|
|
idrisDeps = [ prelude base effects idris ];
|
|
|
|
# The tests attribute is very strange as the tests are a different ipkg
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "A testing library for Idris";
|
|
homepage = https://github.com/pheymann/specdris;
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|