ebtks: migrate to by-name, rename from EBTKS

This commit is contained in:
Weijia Wang 2024-01-21 19:35:45 +01:00
parent 27e48d2c55
commit abb97f6022
5 changed files with 11 additions and 12 deletions

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, cmake, makeWrapper,
perlPackages,
libminc, EBTKS }:
libminc, ebtks }:
stdenv.mkDerivation rec {
pname = "N3";
@ -14,10 +14,10 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake makeWrapper ];
buildInputs = [ libminc EBTKS ];
buildInputs = [ libminc ebtks ];
propagatedBuildInputs = with perlPackages; [ perl MNI-Perllib GetoptTabular ];
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/cmake" "-DEBTKS_DIR=${EBTKS}/lib/" ];
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/cmake" "-DEBTKS_DIR=${ebtks}/lib/" ];
postFixup = ''
for p in $out/bin/*; do

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, cmake, makeWrapper,
perlPackages,
libminc, EBTKS }:
libminc, ebtks }:
stdenv.mkDerivation rec {
pname = "inormalize";
@ -16,10 +16,10 @@ stdenv.mkDerivation rec {
patches = [ ./lgmask-interp.patch ./nu_correct_norm-interp.patch ];
nativeBuildInputs = [ cmake makeWrapper ];
buildInputs = [ libminc EBTKS ];
buildInputs = [ libminc ebtks ];
propagatedBuildInputs = with perlPackages; [ perl GetoptTabular MNI-Perllib ];
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/cmake" "-DEBTKS_DIR=${EBTKS}/lib/" ];
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/cmake" "-DEBTKS_DIR=${ebtks}/lib/" ];
postFixup = ''
for p in $out/bin/*; do

View file

@ -1,12 +1,12 @@
{ lib, stdenv, fetchFromGitHub, cmake, libminc }:
stdenv.mkDerivation rec {
pname = "EBTKS";
stdenv.mkDerivation {
pname = "ebtks";
version = "unstable-2017-09-23";
src = fetchFromGitHub {
owner = "BIC-MNI";
repo = pname;
repo = "EBTKS";
rev = "67e4e197d8a32d6462c9bdc7af44d64ebde4fb5c";
sha256 = "1a1qw6i47fs1izx60l1ysabpmyx9j5sjnbdv8b47wi2xcc9i3hpq";
};
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/cmake" ];
meta = with lib; {
homepage = "https://github.com/BIC-MNI/${pname}";
homepage = "https://github.com/BIC-MNI/EBTKS";
description = "Library for working with MINC files";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;

View file

@ -225,6 +225,7 @@ mapAliases ({
### E ###
EBTKS = ebtks; # Added 2024-01-21
ec2_ami_tools = ec2-ami-tools; # Added 2021-10-08
ec2_api_tools = ec2-api-tools; # Added 2021-10-08
ec2-utils = amazon-ec2-utils; # Added 2022-02-01

View file

@ -5208,8 +5208,6 @@ with pkgs;
easyocr = with python3.pkgs; toPythonApplication easyocr;
EBTKS = callPackage ../development/libraries/science/biology/EBTKS { };
ecasound = callPackage ../applications/audio/ecasound { };
edac-utils = callPackage ../os-specific/linux/edac-utils { };