commit
cdd0c54f10
@ -0,0 +1,13 @@ |
||||
import ./make-test-python.nix ({ ... }: |
||||
{ |
||||
name = "extra-python-packages"; |
||||
|
||||
extraPythonPackages = p: [ p.numpy ]; |
||||
|
||||
nodes = { }; |
||||
|
||||
testScript = '' |
||||
import numpy as np |
||||
assert str(np.zeros(4) == "array([0., 0., 0., 0.])") |
||||
''; |
||||
}) |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,22 @@ |
||||
{ lib, buildDunePackage, fetchFromGitHub }: |
||||
|
||||
buildDunePackage rec { |
||||
pname = "dtools"; |
||||
version = "0.4.4"; |
||||
|
||||
minimalOCamlVersion = "4.05"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "savonet"; |
||||
repo = "ocaml-dtools"; |
||||
rev = "v${version}"; |
||||
sha256 = "1xbgnij63crikfr2jvar6sf6c7if47qarg5yycdfidip21vhmawf"; |
||||
}; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://github.com/savonet/ocaml-dtools"; |
||||
description = "Library providing various helper functions to make daemons"; |
||||
license = licenses.gpl2Plus; |
||||
maintainers = with maintainers; [ dandellion ]; |
||||
}; |
||||
} |
@ -0,0 +1,22 @@ |
||||
{ lib, buildDunePackage, fetchFromGitHub, ocaml_pcre }: |
||||
|
||||
buildDunePackage rec { |
||||
pname = "duppy"; |
||||
version = "0.9.2"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "savonet"; |
||||
repo = "ocaml-duppy"; |
||||
rev = "v${version}"; |
||||
sha256 = "132dawca1p5s965m40ldmnihlpgfm47y62kfbzgim7sgsdwxxw5y"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ ocaml_pcre ]; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://github.com/savonet/ocaml-duppy"; |
||||
description = "Library providing monadic threads"; |
||||
license = licenses.lgpl21Only; |
||||
maintainers = with maintainers; [ dandellion ]; |
||||
}; |
||||
} |
@ -0,0 +1,23 @@ |
||||
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, liblo }: |
||||
|
||||
buildDunePackage rec { |
||||
pname = "lo"; |
||||
version = "0.2.0"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "savonet"; |
||||
repo = "ocaml-lo"; |
||||
rev = "v${version}"; |
||||
sha256 = "0mi8h6f6syxjkxz493l5c3l270pvxx33pz0k3v5465wqjsnppar2"; |
||||
}; |
||||
|
||||
buildInputs = [ dune-configurator ]; |
||||
propagatedBuildInputs = [ liblo ]; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://github.com/savonet/ocaml-lo"; |
||||
description = "Bindings for LO library"; |
||||
license = licenses.lgpl21Plus; |
||||
maintainers = with maintainers; [ dandellion ]; |
||||
}; |
||||
} |
@ -0,0 +1,26 @@ |
||||
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, which, file }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "magic"; |
||||
version = "0.7.3"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "Chris00"; |
||||
repo = "ocaml-magic"; |
||||
rev = "510c473d222a3d3d900b8ae1892d13e0d49d08be"; # no tags in repo |
||||
sha256 = "0qks3v51xvzxhidai414mbszxhcl8wg8g7zxd04qi260433g77yg"; |
||||
}; |
||||
|
||||
createFindlibDestdir = true; |
||||
|
||||
nativeBuildInputs = [ which ]; |
||||
buildInputs = [ ocaml findlib ]; |
||||
propagatedBuildInputs = [ file ]; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://github.com/Chris00/ocaml-magic"; |
||||
description = "Bindings for libmagic"; |
||||
license = licenses.lgpl21Plus; |
||||
maintainers = with maintainers; [ dandellion ]; |
||||
}; |
||||
} |
@ -0,0 +1,27 @@ |
||||
{ lib, rustPlatform, fetchFromGitea }: |
||||
|
||||
rustPlatform.buildRustPackage rec { |
||||
pname = "seehecht"; |
||||
version = "3.0.2"; |
||||
|
||||
src = fetchFromGitea { |
||||
domain = "codeberg.org"; |
||||
owner = "papojari"; |
||||
repo = "seehecht"; |
||||
rev = "v${version}"; |
||||
sha256 = "sha256-x5zZEDaBmWpyvY+sKuiK4L+hc85prxCueWYUNMi9ty0="; |
||||
}; |
||||
|
||||
cargoSha256 = "sha256-mWGmMtUYeM97SM+/jtOzkAe1usuZT4yOI6PAbiGKe7M="; |
||||
|
||||
postInstall = '' |
||||
ln -s $out/bin/seh $out/bin/seehecht |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "A tool to quickly open a markdown document with already filled out frontmatter"; |
||||
license = licenses.lgpl3Only; |
||||
platforms = platforms.all; |
||||
maintainers = with maintainers; [ papojari ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue