forked from rarias/bscpkgs
Move packages from bsc/ to pkgs/
This commit is contained in:
29
pkgs/tampi/default.nix
Normal file
29
pkgs/tampi/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
stdenv
|
||||
, fetchFromGitHub
|
||||
, automake
|
||||
, autoconf
|
||||
, libtool
|
||||
, gnumake
|
||||
, boost
|
||||
, mpi
|
||||
, gcc
|
||||
, autoreconfHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.0";
|
||||
pname = "tampi";
|
||||
enableParallelBuilding = true;
|
||||
buildInputs = [ autoreconfHook automake autoconf libtool gnumake boost mpi gcc ];
|
||||
dontDisableStatic = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bsc-pm";
|
||||
repo = "tampi";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-m0LDgP4pfUwavUaagcCsZ/ZHbnWBZdtHtGq108btGKM=";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "all" ];
|
||||
}
|
||||
26
pkgs/tampi/git.nix
Normal file
26
pkgs/tampi/git.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
stdenv
|
||||
, fetchurl
|
||||
, automake
|
||||
, autoconf
|
||||
, libtool
|
||||
, gnumake
|
||||
, boost
|
||||
, mpi
|
||||
, gcc
|
||||
, autoreconfHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tampi";
|
||||
version = "${src.shortRev}";
|
||||
enableParallelBuilding = true;
|
||||
buildInputs = [ autoreconfHook automake autoconf libtool gnumake boost mpi gcc ];
|
||||
dontDisableStatic = true;
|
||||
makeFlags = [ "V=1" ];
|
||||
src = builtins.fetchGit {
|
||||
url = "ssh://git@bscpm03.bsc.es/interoperability/tampi";
|
||||
ref = "master";
|
||||
};
|
||||
hardeningDisable = [ "all" ];
|
||||
}
|
||||
Reference in New Issue
Block a user