cryptominisat: Convert to new overlays system

This commit is contained in:
Tyson Whitehead
2018-01-18 00:13:43 -05:00
parent 24255eab8d
commit d4dd6ff700
2 changed files with 3 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
self: pkgs: with pkgs; {
cryptominisat = callPackage ./cryptominisat.nix { };
}

26
pkgs/cryptominisat.nix Normal file
View File

@@ -0,0 +1,26 @@
{ stdenv, fetchurl, cmake, zlib, sqlite, boost, python27, vim }:
stdenv.mkDerivation {
name = "cryptominisat-4.5.3";
src = fetchurl {
url = https://github.com/msoos/cryptominisat/archive/4.5.3.tar.gz;
sha256 = "0k7blcphchn7pbandbar45zp2i3xrgcayiysv9lc6kbk4l7a4k8i";
};
buildInputs = [
cmake
zlib
sqlite
boost
python27
vim
];
meta = with stdenv.lib; {
homepage = https://github.com/msoos/cryptominisat;
description = "An advanced SAT Solver";
platforms = platforms.all;
license = licenses.lgpl3;
};
}