cryptol: update 2.x branch to version 2.1.0 and remove broken 1.x build
This commit is contained in:
@@ -376,9 +376,9 @@ self: super: {
|
||||
# https://github.com/rrnewton/haskell-lockfree/issues/44
|
||||
chaselev-deque = markBrokenVersion "0.5.0.3" super.chaselev-deque;
|
||||
|
||||
}
|
||||
// {
|
||||
# Not on Hackage yet.
|
||||
} // {
|
||||
|
||||
# Not on Hackage.
|
||||
cabal2nix = self.mkDerivation {
|
||||
pname = "cabal2nix";
|
||||
version = "2.0";
|
||||
|
||||
@@ -63,4 +63,30 @@ self: super: {
|
||||
# Choose appropriate flags for our version of 'bytestring'.
|
||||
bytestring-builder = disableCabalFlag super.bytestring-builder "bytestring_has_builder";
|
||||
|
||||
} // {
|
||||
|
||||
# Not on Hackage.
|
||||
cryptol = self.mkDerivation rec {
|
||||
pname = "cryptol";
|
||||
version = "2.1.0";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "GaloisInc";
|
||||
repo = "cryptol";
|
||||
rev = "v${version}";
|
||||
sha256 = "00bmad3qc7h47j26xp7hbrlb0qv0f7k9spxgsc1f6lsmpgq9axr3";
|
||||
};
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = with self; [
|
||||
ansi-terminal array async base containers deepseq directory
|
||||
executable-path filepath GraphSCC haskeline monadLib mtl old-time
|
||||
presburger pretty process QuickCheck random smtLib syb text
|
||||
tf-random transformers utf8-string
|
||||
];
|
||||
buildTools = with self; [ alex happy Cabal_1_22_0_0 ];
|
||||
patchPhase = "sed -i -e 's|process .*,|process,|' cryptol.cabal";
|
||||
description = "Cryptol: The Language of Cryptography";
|
||||
license = pkgs.stdenv.lib.licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user