treewide: rename name to pname&version
This commit is contained in:
parent
723c7c9a1d
commit
826c215491
|
@ -1,15 +1,15 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, python3, gtk-doc}:
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, python3, gtk-doc}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libsmartcols";
|
pname = "libsmartcols";
|
||||||
version = "v2.36.1";
|
version = "2.36.1";
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config python3 gtk-doc ];
|
nativeBuildInputs = [ autoreconfHook pkg-config python3 gtk-doc ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "karelzak";
|
owner = "karelzak";
|
||||||
repo = "util-linux";
|
repo = "util-linux";
|
||||||
rev = version;
|
rev = "v${version}";
|
||||||
sha256 = "0z7nv054pqhlihqiw0vk3h40j0cxk1yxf8zzh0ddmvk6834cnyxs";
|
sha256 = "0z7nv054pqhlihqiw0vk3h40j0cxk1yxf8zzh0ddmvk6834cnyxs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, openssl, boost, gmp, procps }:
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, openssl, boost, gmp, procps }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
rev = "9e6b19ff15bc19fba5da1707ba18e7f160e5ed07";
|
pname = "libsnark";
|
||||||
in stdenv.mkDerivation rec {
|
version = "unstable-2018-01-15";
|
||||||
name = "libsnark-pre${version}";
|
|
||||||
version = lib.substring 0 8 rev;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
buildInputs = [ openssl boost gmp ] ++ lib.optional stdenv.hostPlatform.isLinux procps;
|
buildInputs = [ openssl boost gmp ] ++ lib.optional stdenv.hostPlatform.isLinux procps;
|
||||||
|
@ -12,7 +10,7 @@ in stdenv.mkDerivation rec {
|
||||||
cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "-DWITH_PROCPS=OFF" "-DWITH_SUPERCOP=OFF" ];
|
cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "-DWITH_PROCPS=OFF" "-DWITH_SUPERCOP=OFF" ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit rev;
|
rev = "9e6b19ff15bc19fba5da1707ba18e7f160e5ed07";
|
||||||
owner = "scipr-lab";
|
owner = "scipr-lab";
|
||||||
repo = "libsnark";
|
repo = "libsnark";
|
||||||
sha256 = "13f02qp2fmfhvxlp4xi69m0l8r5nq913l2f0zwdk7hl46lprfdca";
|
sha256 = "13f02qp2fmfhvxlp4xi69m0l8r5nq913l2f0zwdk7hl46lprfdca";
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, gtk3, Cocoa }:
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, gtk3, Cocoa }:
|
||||||
|
|
||||||
let
|
let
|
||||||
shortName = "libui";
|
|
||||||
version = "4.1a";
|
|
||||||
backend = if stdenv.isDarwin then "darwin" else "unix";
|
backend = if stdenv.isDarwin then "darwin" else "unix";
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "${shortName}-${version}";
|
pname = "libui";
|
||||||
|
version = "4.1a";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "andlabs";
|
owner = "andlabs";
|
||||||
repo = "libui";
|
repo = "libui";
|
||||||
|
@ -27,22 +26,22 @@ stdenv.mkDerivation {
|
||||||
mkdir -p $out/{include,lib}
|
mkdir -p $out/{include,lib}
|
||||||
mkdir -p $out/lib/pkgconfig
|
mkdir -p $out/lib/pkgconfig
|
||||||
'' + lib.optionalString stdenv.isLinux ''
|
'' + lib.optionalString stdenv.isLinux ''
|
||||||
mv ./out/${shortName}.so.0 $out/lib/
|
mv ./out/libui.so.0 $out/lib/
|
||||||
ln -s $out/lib/${shortName}.so.0 $out/lib/${shortName}.so
|
ln -s $out/lib/libui.so.0 $out/lib/libui.so
|
||||||
'' + lib.optionalString stdenv.isDarwin ''
|
'' + lib.optionalString stdenv.isDarwin ''
|
||||||
mv ./out/${shortName}.A.dylib $out/lib/
|
mv ./out/libui.A.dylib $out/lib/
|
||||||
ln -s $out/lib/${shortName}.A.dylib $out/lib/${shortName}.dylib
|
ln -s $out/lib/lubui.A.dylib $out/lib/libui.dylib
|
||||||
'' + ''
|
'' + ''
|
||||||
cp $src/ui.h $out/include
|
cp $src/ui.h $out/include
|
||||||
cp $src/ui_${backend}.h $out/include
|
cp $src/ui_${backend}.h $out/include
|
||||||
|
|
||||||
cp ${./libui.pc} $out/lib/pkgconfig/${shortName}.pc
|
cp ${./libui.pc} $out/lib/pkgconfig/libui.pc
|
||||||
substituteInPlace $out/lib/pkgconfig/${shortName}.pc \
|
substituteInPlace $out/lib/pkgconfig/libui.pc \
|
||||||
--subst-var-by out $out \
|
--subst-var-by out $out \
|
||||||
--subst-var-by version "${version}"
|
--subst-var-by version "${version}"
|
||||||
'';
|
'';
|
||||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||||
install_name_tool -id $out/lib/${shortName}.A.dylib $out/lib/${shortName}.A.dylib
|
install_name_tool -id $out/lib/libui.A.dylib $out/lib/libui.A.dylib
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -34,6 +34,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "PDF to XML converter";
|
description = "PDF to XML converter";
|
||||||
|
homepage = "https://sourceforge.net/projects/pdf2xml/";
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ lib, stdenv, fetchurl, geant_version }:
|
{ lib, stdenv, fetchurl, geant_version }:
|
||||||
|
|
||||||
let
|
let
|
||||||
mkDataset = { name, version, sha256, envvar }:
|
mkDataset = { pname, version, sha256, envvar }:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit name version;
|
inherit pname version;
|
||||||
inherit geant_version;
|
inherit geant_version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://cern.ch/geant4-data/datasets/${name}.${version}.tar.gz";
|
url = "https://cern.ch/geant4-data/datasets/${pname}.${version}.tar.gz";
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ let
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
|
|
||||||
datadir = "${placeholder "out"}/share/Geant4-${geant_version}/data/${name}${version}";
|
datadir = "${placeholder "out"}/share/Geant4-${geant_version}/data/${pname}${version}";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $datadir
|
mkdir -p $datadir
|
||||||
mv ./* $datadir
|
mv ./* $datadir
|
||||||
|
@ -32,86 +32,86 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
builtins.listToAttrs (map (a: { inherit (a) name; value = mkDataset a; }) [
|
builtins.listToAttrs (map (a: { inherit (a) pname; value = mkDataset a; }) [
|
||||||
{
|
{
|
||||||
name = "G4NDL";
|
pname = "G4NDL";
|
||||||
version = "4.6";
|
version = "4.6";
|
||||||
sha256 = "sha256-nSh88q4PuIeirc6AHudPub4hsNFm2rSby+6UCKUUVAg=";
|
sha256 = "sha256-nSh88q4PuIeirc6AHudPub4hsNFm2rSby+6UCKUUVAg=";
|
||||||
envvar = "NEUTRONHP";
|
envvar = "NEUTRONHP";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "G4EMLOW";
|
pname = "G4EMLOW";
|
||||||
version = "8.0";
|
version = "8.0";
|
||||||
sha256 = "sha256-2Rmo5YOGiCV7kkimE5EOsqdjMFngMMi1DAosKtn9Kzs=";
|
sha256 = "sha256-2Rmo5YOGiCV7kkimE5EOsqdjMFngMMi1DAosKtn9Kzs=";
|
||||||
envvar = "LE";
|
envvar = "LE";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "G4PhotonEvaporation";
|
pname = "G4PhotonEvaporation";
|
||||||
version = "5.7";
|
version = "5.7";
|
||||||
sha256 = "sha256-dh5C5W/93j2YOfn52BAmB8a0wDKRUe5Rggb07p535+U=";
|
sha256 = "sha256-dh5C5W/93j2YOfn52BAmB8a0wDKRUe5Rggb07p535+U=";
|
||||||
envvar = "LEVELGAMMA";
|
envvar = "LEVELGAMMA";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "G4RadioactiveDecay";
|
pname = "G4RadioactiveDecay";
|
||||||
version = "5.6";
|
version = "5.6";
|
||||||
sha256 = "sha256-OIYHfJyOWph4PmcY4cMlZ4me6y27M+QC1Edrwv5PDfE=";
|
sha256 = "sha256-OIYHfJyOWph4PmcY4cMlZ4me6y27M+QC1Edrwv5PDfE=";
|
||||||
envvar = "RADIOACTIVE";
|
envvar = "RADIOACTIVE";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "G4SAIDDATA";
|
pname = "G4SAIDDATA";
|
||||||
version = "2.0";
|
version = "2.0";
|
||||||
sha256 = "sha256-HSao55uqceRNV1m59Vpn6Lft4xdRMWqekDfYAJDHLpE=";
|
sha256 = "sha256-HSao55uqceRNV1m59Vpn6Lft4xdRMWqekDfYAJDHLpE=";
|
||||||
envvar = "SAIDXS";
|
envvar = "SAIDXS";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "G4PARTICLEXS";
|
pname = "G4PARTICLEXS";
|
||||||
version = "4.0";
|
version = "4.0";
|
||||||
sha256 = "sha256-k4EDlwPD8rD9NqtJmTYqLItP+QgMMi+QtOMZKBEzypU=";
|
sha256 = "sha256-k4EDlwPD8rD9NqtJmTYqLItP+QgMMi+QtOMZKBEzypU=";
|
||||||
envvar = "PARTICLEXS";
|
envvar = "PARTICLEXS";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "G4ABLA";
|
pname = "G4ABLA";
|
||||||
version = "3.1";
|
version = "3.1";
|
||||||
sha256 = "sha256-dpiwUrWL8bmIa+rNvWr2B63B4Jn8cwq2shz38JDAJ+0=";
|
sha256 = "sha256-dpiwUrWL8bmIa+rNvWr2B63B4Jn8cwq2shz38JDAJ+0=";
|
||||||
envvar = "ABLA";
|
envvar = "ABLA";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "G4INCL";
|
pname = "G4INCL";
|
||||||
version = "1.0";
|
version = "1.0";
|
||||||
sha256 = "sha256-cWFhghrp89BWX788LPNPTgLj5RnrQZqCI27vIsLENn0=";
|
sha256 = "sha256-cWFhghrp89BWX788LPNPTgLj5RnrQZqCI27vIsLENn0=";
|
||||||
envvar = "INCL";
|
envvar = "INCL";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "G4PII";
|
pname = "G4PII";
|
||||||
version = "1.3";
|
version = "1.3";
|
||||||
sha256 = "sha256-YiWtkCZ19DgcmMa6JfxaBs6HVJqpeWNNPQNJHWYW6SY=";
|
sha256 = "sha256-YiWtkCZ19DgcmMa6JfxaBs6HVJqpeWNNPQNJHWYW6SY=";
|
||||||
envvar = "PII";
|
envvar = "PII";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "G4ENSDFSTATE";
|
pname = "G4ENSDFSTATE";
|
||||||
version = "2.3";
|
version = "2.3";
|
||||||
sha256 = "sha256-lETF4IIHkavTzKrOEFsOR3kPrc4obhEUmDTnnEqOkgM=";
|
sha256 = "sha256-lETF4IIHkavTzKrOEFsOR3kPrc4obhEUmDTnnEqOkgM=";
|
||||||
envvar = "ENSDFSTATE";
|
envvar = "ENSDFSTATE";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "G4RealSurface";
|
pname = "G4RealSurface";
|
||||||
version = "2.2";
|
version = "2.2";
|
||||||
sha256 = "sha256-mVTe4AEvUzEmf3g2kOkS5y21v1Lqm6vs0S6iIoIXaCA=";
|
sha256 = "sha256-mVTe4AEvUzEmf3g2kOkS5y21v1Lqm6vs0S6iIoIXaCA=";
|
||||||
envvar = "REALSURFACE";
|
envvar = "REALSURFACE";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "G4TENDL";
|
pname = "G4TENDL";
|
||||||
version = "1.4";
|
version = "1.4";
|
||||||
sha256 = "sha256-S3J0AgzItO1Wm4ku8YwuCI7c22tm850lWFzO4l2XIeA=";
|
sha256 = "sha256-S3J0AgzItO1Wm4ku8YwuCI7c22tm850lWFzO4l2XIeA=";
|
||||||
envvar = "PARTICLEHP";
|
envvar = "PARTICLEHP";
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
{ lib, stdenv, fetchurl, cmake, qrencode, qt4, libdmtx }:
|
{ lib, stdenv, fetchurl, cmake, qrencode, qt4, libdmtx }:
|
||||||
|
|
||||||
let v = "1.0"; in
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "prison-${v}";
|
pname = "prison";
|
||||||
|
version = "1.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kde/stable/prison/${v}/src/${name}.tar.gz";
|
url = "mirror://kde/stable/prison/${version}/src/prison-${version}.tar.gz";
|
||||||
sha256 = "08hkzzda36jpdywjqlyzcvli7cx17h4l9yffzsdnhdd788n28krr";
|
sha256 = "08hkzzda36jpdywjqlyzcvli7cx17h4l9yffzsdnhdd788n28krr";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, stdenv, fetchFromGitHub }:
|
{ lib, stdenv, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "proj-datumgrid";
|
pname = "proj-datumgrid";
|
||||||
version = "world-1.0";
|
version = "world-1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
|
@ -1,15 +1,11 @@
|
||||||
{lib, stdenv, fetchurl, cmake, qt4}:
|
{lib, stdenv, fetchurl, cmake, qt4}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
pn = "qimageblitz";
|
pname = "qimageblitz";
|
||||||
v = "0.0.4";
|
version = "0.0.4";
|
||||||
in
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "${pn}-${v}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/${pn}/${pn}-${v}.tar.bz2";
|
url = "mirror://sourceforge/qimageblitz/qimageblitz-${version}.tar.bz2";
|
||||||
sha256 = "0pnaf3qi7rgkxzs2mssmslb3f9ya4cyx09wzwlis3ppyvf72j0p9";
|
sha256 = "0pnaf3qi7rgkxzs2mssmslb3f9ya4cyx09wzwlis3ppyvf72j0p9";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -21,7 +17,7 @@ stdenv.mkDerivation {
|
||||||
meta = {
|
meta = {
|
||||||
description = "Graphical effect and filter library for KDE4";
|
description = "Graphical effect and filter library for KDE4";
|
||||||
license = lib.licenses.bsd2;
|
license = lib.licenses.bsd2;
|
||||||
homepage = "http://${pn}.sourceforge.net";
|
homepage = "http://qimageblitz.sourceforge.net";
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,22 +15,17 @@
|
||||||
, libobjc, ApplicationServices, OpenGL, Cocoa, AGL, libcxx
|
, libobjc, ApplicationServices, OpenGL, Cocoa, AGL, libcxx
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
|
||||||
v_maj = "4.8";
|
|
||||||
v_min = "7";
|
|
||||||
vers = "${v_maj}.${v_min}";
|
|
||||||
in
|
|
||||||
|
|
||||||
# TODO:
|
# TODO:
|
||||||
# * move some plugins (e.g., SQL plugins) to dedicated derivations to avoid
|
# * move some plugins (e.g., SQL plugins) to dedicated derivations to avoid
|
||||||
# false build-time dependencies
|
# false build-time dependencies
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qt-${vers}";
|
pname = "qt";
|
||||||
|
version = "4.8.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.qt-project.org/official_releases/qt/"
|
url = "http://download.qt-project.org/official_releases/qt/"
|
||||||
+ "${v_maj}/${vers}/qt-everywhere-opensource-src-${vers}.tar.gz";
|
+ "${lib.versions.majorMinor version}/${version}/qt-everywhere-opensource-src-${version}.tar.gz";
|
||||||
sha256 = "183fca7n7439nlhxyg1z7aky0izgbyll3iwakw4gwivy16aj5272";
|
sha256 = "183fca7n7439nlhxyg1z7aky0izgbyll3iwakw4gwivy16aj5272";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -40,8 +35,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
setOutputFlags = false;
|
setOutputFlags = false;
|
||||||
|
|
||||||
# The version property must be kept because it will be included into the QtSDK package name
|
|
||||||
version = vers;
|
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
substituteInPlace configure --replace /bin/pwd pwd
|
substituteInPlace configure --replace /bin/pwd pwd
|
||||||
|
@ -131,13 +124,13 @@ stdenv.mkDerivation rec {
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export LD_LIBRARY_PATH="`pwd`/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="`pwd`/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
||||||
configureFlags+="
|
configureFlags+="
|
||||||
-docdir $out/share/doc/${name}
|
-docdir $out/share/doc/qt-${version}
|
||||||
-plugindir $out/lib/qt4/plugins
|
-plugindir $out/lib/qt4/plugins
|
||||||
-importdir $out/lib/qt4/imports
|
-importdir $out/lib/qt4/imports
|
||||||
-examplesdir $TMPDIR/share/doc/${name}/examples
|
-examplesdir $TMPDIR/share/doc/qt-${version}/examples
|
||||||
-demosdir $TMPDIR/share/doc/${name}/demos
|
-demosdir $TMPDIR/share/doc/qt-${version}/demos
|
||||||
-datadir $out/share/${name}
|
-datadir $out/share/qt-${version}
|
||||||
-translationdir $out/share/${name}/translations
|
-translationdir $out/share/qt-${version}/translations
|
||||||
--jobs=$NIX_BUILD_CORES
|
--jobs=$NIX_BUILD_CORES
|
||||||
"
|
"
|
||||||
unset LD # Makefile uses gcc for linking; setting LD interferes
|
unset LD # Makefile uses gcc for linking; setting LD interferes
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.3.0";
|
|
||||||
incfile = builtins.toFile "make.inc.custom" ''
|
incfile = builtins.toFile "make.inc.custom" ''
|
||||||
CC = g++
|
CC = g++
|
||||||
FORT = gfortran
|
FORT = gfortran
|
||||||
|
@ -32,10 +31,11 @@ let
|
||||||
INC = -I$(clBLAS)/include
|
INC = -I$(clBLAS)/include
|
||||||
#-I$(AMDAPP)/include
|
#-I$(AMDAPP)/include
|
||||||
'';
|
'';
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation rec {
|
||||||
name = "clmagma-${version}";
|
pname = "clmagma";
|
||||||
|
version = "1.3.0";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://icl.cs.utk.edu/projectsfiles/magma/cl/clmagma-${version}.tar.gz";
|
url = "https://icl.cs.utk.edu/projectsfiles/magma/cl/clmagma-${version}.tar.gz";
|
||||||
sha256 = "1n27ny0xhwirw2ydn46pfcwy53gzia9zbam4irx44fd4d7f9ydv7";
|
sha256 = "1n27ny0xhwirw2ydn46pfcwy53gzia9zbam4irx44fd4d7f9ydv7";
|
||||||
name = "clmagma-${version}.tar.gz";
|
name = "clmagma-${version}.tar.gz";
|
||||||
};
|
};
|
||||||
|
@ -68,7 +68,7 @@ in stdenv.mkDerivation {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Matrix Algebra on GPU and Multicore Architectures, OpenCL port";
|
description = "Matrix Algebra on GPU and Multicore Architectures, OpenCL port";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
homepage = "http://icl.cs.utk.edu/magma/index.html";
|
homepage = "https://icl.cs.utk.edu/magma/index.html";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ volhovm ];
|
maintainers = with maintainers; [ volhovm ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,14 +3,12 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "4.4.4";
|
|
||||||
name = "suitesparse-${version}";
|
|
||||||
|
|
||||||
int_t = if blas.isILP64 then "int64_t" else "int32_t";
|
int_t = if blas.isILP64 then "int64_t" else "int32_t";
|
||||||
SHLIB_EXT = stdenv.hostPlatform.extensions.sharedLibrary;
|
SHLIB_EXT = stdenv.hostPlatform.extensions.sharedLibrary;
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
inherit name;
|
version = "4.4.4";
|
||||||
|
pname = "suitesparse";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-${version}.tar.gz";
|
url = "http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-${version}.tar.gz";
|
||||||
|
@ -71,7 +69,7 @@ stdenv.mkDerivation {
|
||||||
done
|
done
|
||||||
|
|
||||||
# Install documentation
|
# Install documentation
|
||||||
outdoc=$out/share/doc/${name}
|
outdoc=$out/share/doc/suitesparse-${version}
|
||||||
mkdir -p $outdoc
|
mkdir -p $outdoc
|
||||||
cp -r AMD/Doc $outdoc/amd
|
cp -r AMD/Doc $outdoc/amd
|
||||||
cp -r BTF/Doc $outdoc/bft
|
cp -r BTF/Doc $outdoc/bft
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "soil";
|
pname = "soil";
|
||||||
|
version = "unstable-2020-01-04";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://web.archive.org/web/20200104042737id_/http://www.lonesock.net/files/soil.zip";
|
url = "https://web.archive.org/web/20200104042737id_/http://www.lonesock.net/files/soil.zip";
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ lib, stdenv, fetchurl, alsa-lib, ncurses }:
|
{ lib, stdenv, fetchurl, alsa-lib, ncurses }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "speech_tools-${version}.0";
|
pname = "speech_tools";
|
||||||
version = "2.5";
|
version = "2.5.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.festvox.org/packed/festival/${version}/${name}-release.tar.gz";
|
url = "http://www.festvox.org/packed/festival/${lib.versions.majorMinor version}/speech_tools-${version}-release.tar.gz";
|
||||||
sha256 = "1k2xh13miyv48gh06rgsq2vj25xwj7z6vwq9ilsn8i7ig3nrgzg4";
|
sha256 = "1k2xh13miyv48gh06rgsq2vj25xwj7z6vwq9ilsn8i7ig3nrgzg4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,19 @@
|
||||||
{ lib, fetchurl, tcl }:
|
{ lib, fetchurl, tcl }:
|
||||||
|
|
||||||
tcl.mkTclDerivation rec {
|
tcl.mkTclDerivation rec {
|
||||||
name = "tclx-${version}.${patch}";
|
pname = "tclx";
|
||||||
version = "8.4";
|
version = "8.4.1";
|
||||||
patch = "1";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/tclx/tclx${version}.${patch}.tar.bz2";
|
url = "mirror://sourceforge/tclx/tclx${version}.tar.bz2";
|
||||||
sha256 = "1v2qwzzidz0is58fd1p7wfdbscxm3ip2wlbqkj5jdhf6drh1zd59";
|
sha256 = "1v2qwzzidz0is58fd1p7wfdbscxm3ip2wlbqkj5jdhf6drh1zd59";
|
||||||
};
|
};
|
||||||
|
|
||||||
# required in order for tclx to properly detect tclx.tcl at runtime
|
# required in order for tclx to properly detect tclx.tcl at runtime
|
||||||
postInstall = ''
|
postInstall = let
|
||||||
ln -s $prefix/lib/tclx${version} $prefix/lib/tclx${version}/tclx${version}
|
majorMinorVersion = lib.versions.majorMinor version;
|
||||||
|
in ''
|
||||||
|
ln -s $prefix/lib/tclx${majorMinorVersion} $prefix/lib/tclx${majorMinorVersion}/tclx${majorMinorVersion}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, doxygen }:
|
{ lib, stdenv, fetchFromGitHub, cmake, doxygen }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "uri-${version}";
|
pname = "uri";
|
||||||
version = "1.1.0";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
|
@ -1,14 +1,11 @@
|
||||||
{ lib, stdenv, fetchurl, intltool, pkg-config, glib, gtk3, ncurses, gobject-introspection }:
|
{ lib, stdenv, fetchurl, intltool, pkg-config, glib, gtk3, ncurses, gobject-introspection }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
versionMajor = "0.36";
|
pname = "vte";
|
||||||
versionMinor = "3";
|
version = "0.36.3";
|
||||||
moduleName = "vte";
|
|
||||||
|
|
||||||
name = "${moduleName}-${versionMajor}.${versionMinor}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz";
|
url = "mirror://gnome/sources/vte/${lib.versions.majorMinor version}/vte-${version}.tar.xz";
|
||||||
sha256 = "54e5b07be3c0f7b158302f54ee79d4de1cb002f4259b6642b79b1e0e314a959c";
|
sha256 = "54e5b07be3c0f7b158302f54ee79d4de1cb002f4259b6642b79b1e0e314a959c";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue