commit
15beddf02a
@ -0,0 +1,44 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, pythonOlder |
||||
, fetchFromGitHub |
||||
, fetchpatch |
||||
, sphinx |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "sphinx-basic-ng"; |
||||
version = "0.0.1.a11"; |
||||
disable = pythonOlder "3.7"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "pradyunsg"; |
||||
repo = "sphinx-basic-ng"; |
||||
rev = version; |
||||
sha256 = "sha256-Eur3CadC2NTuBXosG4SN9t2L0qkqN+Q79bcvhvlG/f8="; |
||||
}; |
||||
|
||||
patches = [ |
||||
(fetchpatch { |
||||
name = "fix-import-error.patch"; |
||||
url = "https://github.com/pradyunsg/sphinx-basic-ng/pull/32/commits/323a0085721b908aa11bc3c36c51e16f517ee023.patch"; |
||||
sha256 = "sha256-/G1wLG/08u2s3YENSKSYekLrV1fUkxDAlxc3crTQNHk="; |
||||
}) |
||||
]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
sphinx |
||||
]; |
||||
|
||||
# no tests implemented |
||||
doCheck = false; |
||||
|
||||
pythonImportsCheck = [ "sphinx_basic_ng" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "A modernised skeleton for Sphinx themes"; |
||||
homepage = "https://sphinx-basic-ng.readthedocs.io/en/latest/"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ Luflosi ]; |
||||
}; |
||||
} |
@ -1,51 +1,51 @@ |
||||
{ |
||||
version = "2.8.0"; |
||||
version = "2.9.0"; |
||||
linux_py_37_cpu = { |
||||
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.8.0-cp37-cp37m-manylinux2010_x86_64.whl"; |
||||
sha256 = "1nza8i0nvqgrcwj2yy74a3wgpgf52svf0yrz9xd6l18gsifkmkx0"; |
||||
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; |
||||
sha256 = "1gs10w8hm47lmp4hln8qw02x7c018lxmcxs4i8dj3z5h2k64nx75"; |
||||
}; |
||||
linux_py_38_cpu = { |
||||
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.8.0-cp38-cp38-manylinux2010_x86_64.whl"; |
||||
sha256 = "1li2gllznd5w3hh2w9ibh5lkvvssnwh5vhk7i873dxjjdl1w8sqy"; |
||||
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; |
||||
sha256 = "01jz7vsinbzznzh6dv5bcz0yf8v050wd0axpn9z2jakkh5bwskhp"; |
||||
}; |
||||
linux_py_39_cpu = { |
||||
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.8.0-cp39-cp39-manylinux2010_x86_64.whl"; |
||||
sha256 = "03swmyak1hb0k6b2fi9a8g76fi57jz30ym015a576iwp42pqcgkq"; |
||||
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; |
||||
sha256 = "0458w6p567pm9xs1n5x4z5qygmlwy752d8livvn98p3j0lzccnhy"; |
||||
}; |
||||
linux_py_310_cpu = { |
||||
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.8.0-cp310-cp310-manylinux2010_x86_64.whl"; |
||||
sha256 = ""; |
||||
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; |
||||
sha256 = "136d7hjdsks7gvgz54vl9riq1xdqpiamjp449myy9a768vz2xghp"; |
||||
}; |
||||
linux_py_37_gpu = { |
||||
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.8.0-cp37-cp37m-manylinux2010_x86_64.whl"; |
||||
sha256 = "06q3vjrlqfkqa5r18hla3d8ms1sqa897g7fpnqizgh4k8skhm9fq"; |
||||
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; |
||||
sha256 = "11w1jrz9x6c8kzqfv14snp9djrwy17qc74h5kdiphhprm9ikkikz"; |
||||
}; |
||||
linux_py_38_gpu = { |
||||
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.8.0-cp38-cp38-manylinux2010_x86_64.whl"; |
||||
sha256 = "0099aa5g19zi74n6bamhmmcgp096m41fhr61swkwnh92myz1ylgb"; |
||||
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; |
||||
sha256 = "0vszrrnm706cqqv7b0726dd9ql3pcd08almqk8w0bcfk3fz05d3w"; |
||||
}; |
||||
linux_py_39_gpu = { |
||||
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.8.0-cp39-cp39-manylinux2010_x86_64.whl"; |
||||
sha256 = "0zw20yvlqga7znr13pa10qxww42mj64209syiicgvhs74ji1zdca"; |
||||
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; |
||||
sha256 = "18mgv36kdpx4q39qm708abfcjxy4gppv9ray0f418q0jlmfy2fi0"; |
||||
}; |
||||
linux_py_310_gpu = { |
||||
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.8.0-cp310-cp310-manylinux2010_x86_64.whl"; |
||||
sha256 = "06kwjlhzl46jhjcg836crys2aw39x0g8s1s9qfscm1kbwzbww1hq"; |
||||
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; |
||||
sha256 = "17wnvfgj9vynq1ibylfqw2cngnjawsxw1mvphdl3g57i92mqsn2x"; |
||||
}; |
||||
mac_py_37_cpu = { |
||||
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.8.0-cp37-cp37m-macosx_10_14_x86_64.whl"; |
||||
sha256 = "1z5w6wx3h45fz0ji9kn2m2kf963bqbvmqc7cyjv4ixymd0rp4jps"; |
||||
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.0-cp37-cp37m-macosx_10_14_x86_64.whl"; |
||||
sha256 = "1lvc8rp0a0snjz5cgw6m5nk9qdnl6h7v2cc2pmxssp5c0flqzx4j"; |
||||
}; |
||||
mac_py_38_cpu = { |
||||
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.8.0-cp38-cp38-macosx_10_14_x86_64.whl"; |
||||
sha256 = "1h5v8flhc5zb038ld0av7638cyqqkrib379lrlzvf8dw7q8ry3yx"; |
||||
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.0-cp38-cp38-macosx_10_14_x86_64.whl"; |
||||
sha256 = "1lgpgbasmc1av9njz3i1654qkbw2c99x8c7vb2yslnw63s79j774"; |
||||
}; |
||||
mac_py_39_cpu = { |
||||
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.8.0-cp39-cp39-macosx_10_14_x86_64.whl"; |
||||
sha256 = "0qsmlrf8h2gxkimniyrz9bniaqpdsd92pficmsrq30k8rkz2bwjj"; |
||||
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.0-cp39-cp39-macosx_10_14_x86_64.whl"; |
||||
sha256 = "07dd3srqx78aq7w0g6k1x6l7zphwhm29lv9ai3gyqszi99cpn5pr"; |
||||
}; |
||||
mac_py_310_cpu = { |
||||
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.8.0-cp310-cp310-macosx_10_14_x86_64.whl"; |
||||
sha256 = "0lnwbvil6c6ai10lcaj9ay9pya207s9g204273msjalm1hpbmhvq"; |
||||
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.0-cp310-cp310-macosx_10_14_x86_64.whl"; |
||||
sha256 = "14fz1id9clcbcrq4y8i1ij1nrk6dz36cqxb88ilip0jj36vfy991"; |
||||
}; |
||||
} |
||||
|
@ -0,0 +1,29 @@ |
||||
{ kernel, stdenv, kmod, lib, fetchzip }: |
||||
stdenv.mkDerivation |
||||
{ |
||||
pname = "ax99100"; |
||||
version = "1.8.0"; |
||||
nativeBuildInputs = [ kmod ] ++ kernel.moduleBuildDependencies; |
||||
src = fetchzip { |
||||
url = "https://www.asix.com.tw/en/support/download/file/1229"; |
||||
sha256 = "1rbp1m01qr6b3nbr72vpbw89pjh8mddc60im78z2yjd951xkbcjh"; |
||||
extension = "tar.bz2"; |
||||
}; |
||||
|
||||
makeFlags = [ "KDIR='${kernel.dev}/lib/modules/${kernel.modDirVersion}/build'" ]; |
||||
|
||||
installPhase = '' |
||||
mkdir -p $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/tty/serial |
||||
cp ax99100.ko $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/tty/serial |
||||
''; |
||||
|
||||
meta = { |
||||
description = "ASIX AX99100 Serial and Parralel Port driver"; |
||||
homepage = "https://www.asix.com.tw/en/product/Interface/PCIe_Bridge/AX99100"; |
||||
# According to the source code in the tarball, the license is gpl2. |
||||
license = lib.licenses.gpl2; |
||||
platforms = lib.platforms.linux; |
||||
# currently, the build fails with kernels newer than 5.17 |
||||
broken = lib.versionAtLeast kernel.version "5.18.0"; |
||||
}; |
||||
} |
@ -1,35 +1,55 @@ |
||||
{ lib, buildGoPackage, fetchFromGitHub }: |
||||
{ lib |
||||
, buildGoModule |
||||
, fetchFromGitHub |
||||
}: |
||||
|
||||
buildGoPackage rec { |
||||
buildGoModule rec { |
||||
pname = "hyperledger-fabric"; |
||||
version = "1.3.0"; |
||||
|
||||
goPackagePath = "github.com/hyperledger/fabric"; |
||||
|
||||
# taken from https://github.com/hyperledger/fabric/blob/v1.3.0/Makefile#L108 |
||||
subPackages = [ |
||||
"common/tools/configtxgen" |
||||
"common/tools/configtxlator" |
||||
"common/tools/cryptogen" |
||||
"common/tools/idemixgen" |
||||
"cmd/discover" |
||||
"peer" |
||||
"orderer" |
||||
]; |
||||
version = "2.4.3"; |
||||
commit = "9711fb5d0c16297584f5c53123f589110828736f"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "hyperledger"; |
||||
repo = "fabric"; |
||||
rev = "v${version}"; |
||||
sha256 = "08qrrxzgkqg9v7n3y8f2vggyqx9j65wisxi17hrabz5mzaq299xs"; |
||||
sha256 = "sha256-gXVahzpuIUWAHq4gJ1rbq943zIuWrl/ojDMQDFfI14I="; |
||||
}; |
||||
|
||||
doCheck = true; |
||||
vendorSha256 = null; |
||||
|
||||
postPatch = '' |
||||
# Broken |
||||
rm cmd/peer/main_test.go |
||||
''; |
||||
|
||||
subPackages = [ |
||||
"cmd/configtxgen" |
||||
"cmd/configtxlator" |
||||
"cmd/cryptogen" |
||||
"cmd/discover" |
||||
"cmd/ledgerutil" |
||||
"cmd/orderer" |
||||
"cmd/osnadmin" |
||||
"cmd/peer" |
||||
]; |
||||
|
||||
ldflags = lib.mapAttrsToList |
||||
(n: v: "github.com/hyperledger/fabric/common/metadata.${n}=${v}") { |
||||
Version = version; |
||||
CommitSha = commit; |
||||
}; |
||||
|
||||
meta = with lib; { |
||||
description = "An implementation of blockchain technology, leveraging familiar and proven technologies"; |
||||
description = "High-performance, secure, permissioned blockchain network"; |
||||
longDescription = '' |
||||
Hyperledger Fabric is an enterprise-grade permissioned distributed ledger |
||||
framework for developing solutions and applications. Its modular and |
||||
versatile design satisfies a broad range of industry use cases. It offers |
||||
a unique approach to consensus that enables performance at scale while |
||||
preserving privacy. |
||||
''; |
||||
homepage = "https://wiki.hyperledger.org/display/fabric"; |
||||
license = licenses.asl20; |
||||
maintainers = [ maintainers.marsam ]; |
||||
maintainers = with maintainers; [ marsam ]; |
||||
}; |
||||
} |
||||
|
Loading…
Reference in new issue