forked from M-Labs/artiq-extrapkg
Compare commits
29 Commits
|
@ -2,6 +2,6 @@ ARTIQ extrapkg
|
|||
==============
|
||||
|
||||
This contains additional packages and infrastructure for ARTIQ:
|
||||
* Conda packages
|
||||
* MSYS2 and Conda packages
|
||||
* Controllers/NDSPs
|
||||
* Windows tests
|
||||
|
|
179
flake.lock
179
flake.lock
|
@ -11,11 +11,11 @@
|
|||
"src-pythonparser": "src-pythonparser"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1654087576,
|
||||
"narHash": "sha256-d+LCvCXikhhEjsf4qBZakx3Sda85p+4vVZVwE1YuS90=",
|
||||
"ref": "master",
|
||||
"rev": "68ef0073ea66fe9c7f7c178979ecb8c681c47caa",
|
||||
"revCount": 8068,
|
||||
"lastModified": 1670943503,
|
||||
"narHash": "sha256-fCwznzhR6x4W8ZenrWHkYRYDfp0LGMhqvEBM9iPCLts=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "874d298ceb68ffa776592f855365ca5e2e885575",
|
||||
"revCount": 8243,
|
||||
"type": "git",
|
||||
"url": "https://github.com/m-labs/artiq.git"
|
||||
},
|
||||
|
@ -26,6 +26,7 @@
|
|||
},
|
||||
"artiq-comtools": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": [
|
||||
"artiq",
|
||||
"nixpkgs"
|
||||
|
@ -36,11 +37,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1654007592,
|
||||
"narHash": "sha256-vaDFhE1ItjqtIcinC/6RAJGbj44pxxMUEeQUa3FtgEE=",
|
||||
"lastModified": 1664405593,
|
||||
"narHash": "sha256-yP441NerlLGig7n+9xHsx8yCtZ+Ggd0VqfBSzc20E04=",
|
||||
"owner": "m-labs",
|
||||
"repo": "artiq-comtools",
|
||||
"rev": "cb73281154656ee8f74db1866859e31bf42755cd",
|
||||
"rev": "15ddac62813ef623a076ccf982b3bc63d314e651",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -49,14 +50,114 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"artiq-stubs": {
|
||||
"inputs": {
|
||||
"artiqpkgs": [
|
||||
"daxpkgs",
|
||||
"artiqpkgs"
|
||||
],
|
||||
"flake8-artiq": [
|
||||
"daxpkgs",
|
||||
"flake8-artiq"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"daxpkgs",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1670448913,
|
||||
"narHash": "sha256-ZCg7Rd5qpYl5Y8FEtLObnFRUiSJVZuSBdpa57SMVoNE=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "d592ccd1db4d9a97331d5397560d25b59c7820bb",
|
||||
"revCount": 26,
|
||||
"type": "git",
|
||||
"url": "https://gitlab.com/duke-artiq/artiq-stubs.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://gitlab.com/duke-artiq/artiq-stubs.git"
|
||||
}
|
||||
},
|
||||
"daxpkgs": {
|
||||
"inputs": {
|
||||
"artiq-stubs": "artiq-stubs",
|
||||
"artiqpkgs": [
|
||||
"artiq"
|
||||
],
|
||||
"flake8-artiq": "flake8-artiq",
|
||||
"nixpkgs": [
|
||||
"artiq",
|
||||
"nixpkgs"
|
||||
],
|
||||
"sipyco": [
|
||||
"artiq",
|
||||
"sipyco"
|
||||
],
|
||||
"trap-dac-utils": "trap-dac-utils"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1671209611,
|
||||
"narHash": "sha256-IBIdF8inxa21DTkonUKQ25bTy/1twpQQjU1g5rbBWxo=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "1c47f53cca6ba455df5c2f6566f138f0b8495a4b",
|
||||
"revCount": 1080,
|
||||
"type": "git",
|
||||
"url": "https://gitlab.com/duke-artiq/dax.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://gitlab.com/duke-artiq/dax.git"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"locked": {
|
||||
"lastModified": 1659877975,
|
||||
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake8-artiq": {
|
||||
"inputs": {
|
||||
"artiqpkgs": [
|
||||
"daxpkgs",
|
||||
"artiqpkgs"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"daxpkgs",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1669758648,
|
||||
"narHash": "sha256-nomQRpu/b8YTAma6kmbSRrz5D9l1l0TV+trKHukT1V8=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "c4949e7a415d5e35a242d552d4bb83614693b92e",
|
||||
"revCount": 85,
|
||||
"type": "git",
|
||||
"url": "https://gitlab.com/duke-artiq/flake8-artiq.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://gitlab.com/duke-artiq/flake8-artiq.git"
|
||||
}
|
||||
},
|
||||
"mozilla-overlay": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1650459918,
|
||||
"narHash": "sha256-sroCK+QJTmoXtcRkwZyKOP9iAYOPID2Bwdxn4GkG16w=",
|
||||
"lastModified": 1664789696,
|
||||
"narHash": "sha256-UGWJHQShiwLCr4/DysMVFrYdYYHcOqAOVsWNUu+l6YU=",
|
||||
"owner": "mozilla",
|
||||
"repo": "nixpkgs-mozilla",
|
||||
"rev": "e1f7540fc0a8b989fb8cf701dc4fd7fc76bcf168",
|
||||
"rev": "80627b282705101e7b38e19ca6e8df105031b072",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -67,23 +168,24 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1653920503,
|
||||
"narHash": "sha256-BBeCZwZImtjP3oYy4WogkQYy5OxNyfNciVSc1AfZgLQ=",
|
||||
"lastModified": 1669735802,
|
||||
"narHash": "sha256-qtG/o/i5ZWZLmXw108N2aPiVsxOcidpHJYNkT45ry9Q=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a634c8f6c1fbf9b9730e01764999666f3436f10a",
|
||||
"rev": "731cc710aeebecbf45a258e977e8b68350549522",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-22.05",
|
||||
"ref": "nixos-22.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"artiq": "artiq"
|
||||
"artiq": "artiq",
|
||||
"daxpkgs": "daxpkgs"
|
||||
}
|
||||
},
|
||||
"sipyco": {
|
||||
|
@ -94,11 +196,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1654006751,
|
||||
"narHash": "sha256-OWAnoTCutvTQcYdtdtLQuL6uRtG+7Jz7sbRhcScv8bo=",
|
||||
"lastModified": 1669369686,
|
||||
"narHash": "sha256-YHez+S3PTUgtuliUNB5WM+RXcj8RKLbHVRvOgELSkwU=",
|
||||
"owner": "m-labs",
|
||||
"repo": "sipyco",
|
||||
"rev": "b3d03a94c751a24769c54a61a0dbe9d6af52dade",
|
||||
"rev": "98db6eacb084c2c5280fb653bee3d313e3ca6df8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -110,11 +212,11 @@
|
|||
"src-migen": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1650337393,
|
||||
"narHash": "sha256-rm1SlFmF2ASz0vIy2nDEzGlyRw2oYNeJRr8Kh8Mg2Qc=",
|
||||
"lastModified": 1662111470,
|
||||
"narHash": "sha256-IPyhoFZLhY8d3jHB8jyvGdbey7V+X5eCzBZYSrJ18ec=",
|
||||
"owner": "m-labs",
|
||||
"repo": "migen",
|
||||
"rev": "d4e3f34177c32f09904397179e6ed9c83175e528",
|
||||
"rev": "639e66f4f453438e83d86dc13491b9403bbd8ec6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -126,11 +228,11 @@
|
|||
"src-misoc": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1649324486,
|
||||
"narHash": "sha256-Mw/fQS3lHFvCm7L1k63joRkz5uyijQfywcOq+X2+o2s=",
|
||||
"lastModified": 1669779825,
|
||||
"narHash": "sha256-l3lyy6dmbivo9Tppb08KHSyU89ZZG1CCcSjPlNRD210=",
|
||||
"ref": "master",
|
||||
"rev": "f1dc58d2b8c222ba41c25cee4301626625f46e43",
|
||||
"revCount": 2420,
|
||||
"rev": "2c255775f732a41ba1a512ab3d2547af4e25f674",
|
||||
"revCount": 2435,
|
||||
"submodules": true,
|
||||
"type": "git",
|
||||
"url": "https://github.com/m-labs/misoc.git"
|
||||
|
@ -156,6 +258,31 @@
|
|||
"repo": "pythonparser",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"trap-dac-utils": {
|
||||
"inputs": {
|
||||
"artiqpkgs": [
|
||||
"daxpkgs",
|
||||
"artiqpkgs"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"daxpkgs",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1671136817,
|
||||
"narHash": "sha256-6uVX0st+0rp0sl2i9MOepxPpgpjGdlfwZ7jndnNKR9k=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "8b754f0735c5efd0e467bed7680f9d1d93d027c3",
|
||||
"revCount": 261,
|
||||
"type": "git",
|
||||
"url": "https://gitlab.com/duke-artiq/trap-dac-utils.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://gitlab.com/duke-artiq/trap-dac-utils.git"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
219
flake.nix
219
flake.nix
|
@ -3,15 +3,25 @@
|
|||
|
||||
inputs.artiq.url = git+https://github.com/m-labs/artiq.git;
|
||||
|
||||
outputs = { self, artiq }:
|
||||
inputs.daxpkgs = {
|
||||
url = git+https://gitlab.com/duke-artiq/dax.git;
|
||||
inputs = {
|
||||
artiqpkgs.follows = "artiq";
|
||||
nixpkgs.follows = "artiq/nixpkgs";
|
||||
sipyco.follows = "artiq/sipyco";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, artiq, daxpkgs }:
|
||||
let
|
||||
pkgs = import artiq.inputs.nixpkgs { system = "x86_64-linux"; };
|
||||
msys2 = import ./msys2 { inherit pkgs; };
|
||||
|
||||
condaDeps = with pkgs; [ zlib xorg.libSM xorg.libICE xorg.libX11 xorg.libXau xorg.libXi xorg.libXrender libselinux libGL ];
|
||||
# Use the full Anaconda distribution, which already contains conda-build and its many dependencies.
|
||||
condaInstaller = pkgs.fetchurl {
|
||||
url = "https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh";
|
||||
sha256 = "sha256-/t+eNAA5VX97XoqKhq/6nSmfXpggFEvXuSrp9+4IrGA=";
|
||||
url = "https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-x86_64.sh";
|
||||
sha256 = "sha256-p8Cv6GL26hmlloAfwTi94EY6vLzht1Po1cR0tQai2y0=";
|
||||
};
|
||||
condaInstallerEnv = pkgs.buildFHSUserEnv {
|
||||
name = "conda-installer-env";
|
||||
|
@ -112,6 +122,8 @@
|
|||
};
|
||||
|
||||
in rec {
|
||||
inherit makeCondaChannel;
|
||||
inherit (msys2) makeMsys2Package makeMsys2Repos;
|
||||
packages.x86_64-linux = rec {
|
||||
korad_ka3005p = pkgs.python3Packages.buildPythonPackage {
|
||||
pname = "korad_ka3005p";
|
||||
|
@ -141,8 +153,8 @@
|
|||
src = pkgs.fetchFromGitHub {
|
||||
owner = "m-labs";
|
||||
repo = "lda";
|
||||
rev = "e6bf828b6dfd7fbf59b61b691712736c98c95970";
|
||||
sha256 = "1w4ykzsl3386bz4ggpd6i60b6a3k7rnc6qjw59xm3hk0vs3w2vyn";
|
||||
rev = "2d8af1e9080a4c1ab4a32370b3f926bfba8c00b2";
|
||||
sha256 = "sha256-bImAsQiGmMauasltUrlkCRU3+p40d41DTlJvOjCfrP0=";
|
||||
};
|
||||
propagatedBuildInputs = [ artiq.inputs.sipyco.packages.x86_64-linux.sipyco ];
|
||||
postPatch = ''
|
||||
|
@ -206,32 +218,9 @@
|
|||
++ [ artiq.inputs.sipyco.packages.x86_64-linux.sipyco ]
|
||||
++ (with pkgs.python3Packages; [ numpy scipy influxdb pyqtgraph setuptools ]);
|
||||
};
|
||||
flake8-artiq = pkgs.python3Packages.buildPythonPackage {
|
||||
pname = "flake8-artiq";
|
||||
version = "0.1.0";
|
||||
src = pkgs.fetchgit {
|
||||
url = "https://gitlab.com/duke-artiq/flake8-artiq.git";
|
||||
rev = "1216092974140a561850905734fc22fdacdc2cde";
|
||||
sha256 = "0rkab2qdwyzms6nxc44jzb5grvkkbpjwwmfv2zj96cm6cm8d9pdr";
|
||||
};
|
||||
propagatedBuildInputs = [ pkgs.python3Packages.flake8 ];
|
||||
checkInputs = [ pkgs.python3Packages.pytestCheckHook ];
|
||||
};
|
||||
dax = pkgs.python3Packages.buildPythonPackage rec {
|
||||
pname = "dax";
|
||||
version = "6.7";
|
||||
src = pkgs.fetchgit {
|
||||
url = "https://gitlab.com/duke-artiq/dax.git";
|
||||
rev = "v${version}";
|
||||
sha256 = "0rgvqqiypqvxjzrsixn3h7dn93isqw5vc2wrmpkxhzvw9lh5ihm7";
|
||||
};
|
||||
VERSIONEER_OVERRIDE = version;
|
||||
inherit (pkgs.python3Packages.pygit2) SSL_CERT_FILE;
|
||||
doCheck = false; # tests only pass for the latest stable ARTIQ version
|
||||
propagatedBuildInputs = [ artiq.packages.x86_64-linux.artiq artiq.inputs.sipyco.packages.x86_64-linux.sipyco ]
|
||||
++ (with pkgs.python3Packages; [ numpy scipy pyvcd natsort pygit2 matplotlib graphviz h5py networkx sortedcontainers ]);
|
||||
checkInputs = [ pkgs.python3Packages.pytestCheckHook ];
|
||||
};
|
||||
flake8-artiq = daxpkgs.packages.x86_64-linux.flake8-artiq;
|
||||
dax = daxpkgs.packages.x86_64-linux.dax.overridePythonAttrs (oa: { doCheck = false; });
|
||||
trap-dac-utils = daxpkgs.packages.x86_64-linux.trap-dac-utils;
|
||||
dax-applets = pkgs.python3Packages.buildPythonPackage rec {
|
||||
pname = "dax-applets";
|
||||
version = "0.0.0";
|
||||
|
@ -244,6 +233,62 @@
|
|||
++ (with pkgs.python3Packages; [ numpy pyqt5 pyqtgraph ]);
|
||||
doCheck = false;
|
||||
};
|
||||
linien-client = pkgs.python3Packages.buildPythonPackage rec {
|
||||
pname = "linien-client";
|
||||
version = "0.5.3";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "linien-org";
|
||||
repo = "linien";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-VOT/mw4o9dbkrtMxL0Ar5UcnxsZ7CYcoTj+VVrWADR4=";
|
||||
};
|
||||
propagatedBuildInputs = (with pkgs.python3Packages; [ numpy paramiko plumbum rpyc scipy ]);
|
||||
doCheck = false; # tests ask for pyqt, migen, etc.
|
||||
patchPhase =
|
||||
''
|
||||
echo ${version} > linien/VERSION
|
||||
substituteInPlace setup_client.py --replace "\"uuid>=1.30\"," ""
|
||||
substituteInPlace setup_client.py --replace "rpyc>=4.0,<5.0" "rpyc>=4.0"
|
||||
ln -s setup_client.py setup.py
|
||||
'';
|
||||
};
|
||||
linien-gui-internal = pkgs.python3Packages.buildPythonPackage rec {
|
||||
pname = "linien-gui-internal";
|
||||
inherit (linien-client) version src;
|
||||
propagatedBuildInputs = (with pkgs.python3Packages; [ click numpy paramiko plumbum pyqtgraph pyqt5 rpyc scipy superqt appdirs ]) ++ [ linien-client ];
|
||||
doCheck = false;
|
||||
patchPhase =
|
||||
''
|
||||
echo ${version} > linien/VERSION
|
||||
substituteInPlace setup_gui.py --replace "rpyc>=4.0,<5.0" "rpyc>=4.0"
|
||||
ln -s setup_gui.py setup.py
|
||||
'';
|
||||
postInstall =
|
||||
''
|
||||
# conflicts with linien-client
|
||||
rm -rf $out/lib/python3.10/site-packages/linien/__pycache__
|
||||
'';
|
||||
};
|
||||
# replace broken (as usual) setuptools launcher
|
||||
linien-gui = pkgs.stdenvNoCC.mkDerivation {
|
||||
name = "linien-gui";
|
||||
phases = [ "installPhase" "fixupPhase" ];
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p $out/bin
|
||||
cat > $out/bin/linien << EOF
|
||||
#!${pkgs.python3.withPackages(ps: [ linien-gui-internal ])}/bin/python
|
||||
import linien.gui.app
|
||||
linien.gui.app.run_application()
|
||||
EOF
|
||||
chmod 755 $out/bin/linien
|
||||
'';
|
||||
nativeBuildInputs = [ pkgs.qt5.wrapQtAppsHook ];
|
||||
dontWrapQtApps = true;
|
||||
postFixup = ''
|
||||
wrapQtApp "$out/bin/linien"
|
||||
'';
|
||||
};
|
||||
conda-channel = makeCondaChannel [
|
||||
{
|
||||
name = "sipyco";
|
||||
|
@ -288,6 +333,7 @@
|
|||
"llvmlite"
|
||||
"llvm-tools"
|
||||
"lld"
|
||||
"tqdm"
|
||||
"artiq-comtools"
|
||||
];
|
||||
}
|
||||
|
@ -340,11 +386,17 @@
|
|||
src = flake8-artiq.src;
|
||||
dependencies = [ "flake8" ];
|
||||
}
|
||||
{
|
||||
name = "trap-dac-utils";
|
||||
version = trap-dac-utils.version;
|
||||
src = trap-dac-utils.src;
|
||||
dependencies = trap-dac-utils.condaDependencies;
|
||||
}
|
||||
{
|
||||
name = "dax";
|
||||
version = dax.version;
|
||||
src = dax.src;
|
||||
dependencies = [ "python>=3.7" "artiq" "sipyco" "numpy" "scipy" "pyvcd" "natsort" "pygit2" "matplotlib" "python-graphviz" "h5py" "networkx" "sortedcontainers" ];
|
||||
dependencies = dax.condaDependencies;
|
||||
}
|
||||
{
|
||||
name = "dax-applets";
|
||||
|
@ -353,6 +405,109 @@
|
|||
dependencies = [ "python>=3.5" "artiq" "numpy" "pyqt" "pyqtgraph" ];
|
||||
}
|
||||
];
|
||||
|
||||
msys2-pythonparser = msys2.makeMsys2Package rec {
|
||||
name = "python-pythonparser";
|
||||
version = artiq.packages.x86_64-linux.pythonparser.version;
|
||||
src = artiq.packages.x86_64-linux.pythonparser.src;
|
||||
depends = [ "mingw-w64-x86_64-python-regex" ];
|
||||
};
|
||||
msys2-sipyco = msys2.makeMsys2Package {
|
||||
name = "python-sipyco";
|
||||
src = artiq.inputs.sipyco.packages.x86_64-linux.sipyco.src;
|
||||
inherit (artiq.inputs.sipyco.packages.x86_64-linux.sipyco) version;
|
||||
depends = [ "mingw-w64-x86_64-python" "mingw-w64-x86_64-python-numpy" "mingw-w64-x86_64-python-pybase64" ];
|
||||
};
|
||||
msys2-artiq-comtools = msys2.makeMsys2Package {
|
||||
name = "artiq-comtools";
|
||||
src = artiq.inputs.artiq-comtools.packages.x86_64-linux.artiq-comtools.src;
|
||||
inherit (artiq.inputs.artiq-comtools.packages.x86_64-linux.artiq-comtools) version;
|
||||
depends = [ "mingw-w64-x86_64-python" "mingw-w64-x86_64-python-sipyco" "mingw-w64-x86_64-python-numpy" "mingw-w64-x86_64-python-aiohttp" ];
|
||||
};
|
||||
msys2-artiq = msys2.makeMsys2Package {
|
||||
name = "artiq";
|
||||
src = artiq;
|
||||
inherit (artiq.packages.x86_64-linux.artiq) version;
|
||||
depends = [
|
||||
"mingw-w64-x86_64-python"
|
||||
"mingw-w64-x86_64-python-h5py"
|
||||
"mingw-w64-x86_64-python-pyqt5"
|
||||
"mingw-w64-x86_64-qt5-svg"
|
||||
"mingw-w64-x86_64-python-qasync"
|
||||
"mingw-w64-x86_64-python-pyqtgraph"
|
||||
"mingw-w64-x86_64-python-numpy"
|
||||
"mingw-w64-x86_64-python-scipy"
|
||||
"mingw-w64-x86_64-python-dateutil"
|
||||
"mingw-w64-x86_64-python-prettytable"
|
||||
"mingw-w64-x86_64-python-tqdm"
|
||||
"mingw-w64-x86_64-python-pygit2"
|
||||
"mingw-w64-x86_64-python-sipyco"
|
||||
"mingw-w64-x86_64-python-llvmlite"
|
||||
"mingw-w64-x86_64-python-pythonparser"
|
||||
"mingw-w64-x86_64-python-levenshtein"
|
||||
"mingw-w64-x86_64-lld"
|
||||
"mingw-w64-x86_64-artiq-comtools"
|
||||
];
|
||||
};
|
||||
msys2-asyncserial = msys2.makeMsys2Package {
|
||||
name = "python-asyncserial";
|
||||
version = artiq.packages.x86_64-linux.asyncserial.version;
|
||||
src = artiq.packages.x86_64-linux.asyncserial.src;
|
||||
depends = [ "mingw-w64-x86_64-python" ];
|
||||
};
|
||||
msys2-korad_ka3005p = msys2.makeMsys2Package {
|
||||
name = "korad_ka3005p";
|
||||
version = korad_ka3005p.version;
|
||||
src = korad_ka3005p.src;
|
||||
depends = [ "mingw-w64-x86_64-python-sipyco" "mingw-w64-x86_64-python-asyncserial" ];
|
||||
};
|
||||
msys2-novatech409b = msys2.makeMsys2Package {
|
||||
name = "novatech409b";
|
||||
version = novatech409b.version;
|
||||
src = novatech409b.src;
|
||||
depends = [ "mingw-w64-x86_64-python-sipyco" "mingw-w64-x86_64-python-asyncserial" ];
|
||||
};
|
||||
msys2-lda = msys2.makeMsys2Package {
|
||||
name = "lda";
|
||||
version = lda.version;
|
||||
src = lda.src;
|
||||
depends = [ "mingw-w64-x86_64-python-sipyco" ];
|
||||
};
|
||||
msys2-thorlabs_tcube = msys2.makeMsys2Package {
|
||||
name = "thorlabs_tcube";
|
||||
version = thorlabs_tcube.version;
|
||||
src = thorlabs_tcube.src;
|
||||
depends = [ "mingw-w64-x86_64-python-sipyco" "mingw-w64-x86_64-python-asyncserial" ];
|
||||
};
|
||||
msys2-newfocus8742 = msys2.makeMsys2Package {
|
||||
name = "newfocus8742";
|
||||
version = newfocus8742.version;
|
||||
src = newfocus8742.src;
|
||||
depends = [ "mingw-w64-x86_64-python-sipyco" ];
|
||||
};
|
||||
msys2-hut2 = msys2.makeMsys2Package {
|
||||
name = "hut2";
|
||||
version = hut2.version;
|
||||
src = hut2.src;
|
||||
depends = [ "mingw-w64-x86_64-python-sipyco" ];
|
||||
};
|
||||
msys2-flake8-artiq = msys2.makeMsys2Package {
|
||||
name = "flake8-artiq";
|
||||
version = flake8-artiq.version;
|
||||
src = flake8-artiq.src;
|
||||
depends = [ "mingw-w64-x86_64-python-flake8" ];
|
||||
};
|
||||
msys2-repos = msys2.makeMsys2Repos [
|
||||
msys2-pythonparser msys2-sipyco msys2-artiq-comtools msys2-artiq
|
||||
msys2-asyncserial
|
||||
msys2-korad_ka3005p
|
||||
msys2-novatech409b
|
||||
msys2-lda
|
||||
msys2-thorlabs_tcube
|
||||
msys2-newfocus8742
|
||||
msys2-hut2
|
||||
msys2-flake8-artiq
|
||||
];
|
||||
};
|
||||
|
||||
hydraJobs = packages.x86_64-linux;
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
arch=("any")
|
||||
mingw_arch=("mingw64")
|
||||
pkgver=${DRV_VERSION}
|
||||
url="https://m-labs.hk"
|
||||
source=("source.tar")
|
||||
sha256sums=("SKIP")
|
||||
|
||||
build() {
|
||||
mkdir mingw64
|
||||
export PYTHONPATH=`pwd`/mingw64/lib/python3.10/site-packages
|
||||
chmod +w -R source
|
||||
cd source
|
||||
wine-msys2-build python setup.py install --single-version-externally-managed --prefix=../mingw64 --record=setuptools-sucks.txt
|
||||
cd ..
|
||||
|
||||
# setuptools creates this file if it doesn't already exist, which causes conflicts between pacman packages
|
||||
# see: https://corte.si/posts/code/setuptoolssucks/
|
||||
rm -f mingw64/lib/python3.10/site-packages/easy-install.pth
|
||||
# patch broken shebangs (Z:/nix/store/...)
|
||||
for entrypoint in mingw64/bin/*-script.py; do
|
||||
[ -f "$entrypoint" ] || continue
|
||||
sed -i "1s|#!.*|#!python|" $entrypoint
|
||||
done
|
||||
for entrypoint in mingw64/bin/*-script.pyw; do
|
||||
[ -f "$entrypoint" ] || continue
|
||||
sed -i "1s|#!.*|#!pythonw|" $entrypoint
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
cp -R mingw64 ${pkgdir}
|
||||
}
|
|
@ -0,0 +1,75 @@
|
|||
{ pkgs }:
|
||||
let
|
||||
msys2-env = pkgs.stdenvNoCC.mkDerivation rec {
|
||||
name = "msys2-env";
|
||||
srcs = import ./msys2_packages.nix { inherit pkgs; };
|
||||
buildInputs = [ pkgs.gnutar pkgs.zstd ];
|
||||
phases = [ "installPhase" ];
|
||||
installPhase = (pkgs.lib.strings.concatStringsSep "\n" (["mkdir $out"] ++ (map (p: "tar xvf ${p} -C $out") srcs)));
|
||||
};
|
||||
silenceFontconfig = # silence flood of "Fontconfig error: Cannot load default config file: No such file: (null)"
|
||||
''
|
||||
export FONTCONFIG_PATH=$HOME/fonts
|
||||
mkdir $FONTCONFIG_PATH
|
||||
cat > $FONTCONFIG_PATH/fonts.conf << EOF
|
||||
<fontconfig>
|
||||
</fontconfig>
|
||||
EOF
|
||||
'';
|
||||
wine-msys2-build = pkgs.writeShellScriptBin "wine-msys2-build"
|
||||
''
|
||||
export HOME=`mktemp -d`
|
||||
export WINEDEBUG=-all
|
||||
export WINEPATH=Z:${msys2-env}/mingw64/bin
|
||||
${silenceFontconfig}
|
||||
exec ${pkgs.wineWowPackages.stable}/bin/wine64 $@
|
||||
'';
|
||||
in {
|
||||
makeMsys2Package = { name, version, src, depends }: pkgs.stdenvNoCC.mkDerivation {
|
||||
pname = "${name}-msys2-pkg";
|
||||
inherit version;
|
||||
nativeBuildInputs = [
|
||||
pkgs.pacman pkgs.fakeroot pkgs.libarchive pkgs.zstd pkgs.file
|
||||
wine-msys2-build
|
||||
];
|
||||
inherit src;
|
||||
phases = [ "buildPhase" "installPhase" ];
|
||||
buildPhase =
|
||||
''
|
||||
export DRV_VERSION=${version}
|
||||
cat > PKGBUILD << HEREDOC
|
||||
pkgbase="mingw-w64-${name}"
|
||||
pkgname="mingw-w64-x86_64-${name}"
|
||||
pkgrel=1
|
||||
depends=(
|
||||
${pkgs.lib.concatStringsSep "\n" (map (depend: "\"${depend}\"") depends)}
|
||||
)
|
||||
source PKGBUILD.common
|
||||
HEREDOC
|
||||
ln -s ${./PKGBUILD.common} PKGBUILD.common
|
||||
ln -s $src source
|
||||
tar cfh source.tar source
|
||||
rm source
|
||||
makepkg --config ${./makepkg.conf} --nodeps
|
||||
'';
|
||||
installPhase =
|
||||
''
|
||||
mkdir $out $out/nix-support
|
||||
cp *.pkg.tar.zst $out
|
||||
echo file msys2 $out/*.pkg.tar.zst >> $out/nix-support/hydra-build-products
|
||||
'';
|
||||
};
|
||||
makeMsys2Repos = constituents: pkgs.stdenvNoCC.mkDerivation {
|
||||
name = "msys2-repos";
|
||||
nativeBuildInputs = [ pkgs.pacman ];
|
||||
phases = [ "buildPhase" ];
|
||||
buildPhase =
|
||||
''
|
||||
mkdir $out
|
||||
cd $out
|
||||
${pkgs.lib.concatStringsSep "\n"
|
||||
(map (constituent: "ln -s ${constituent}/*.pkg.tar.zst .") constituents)}
|
||||
repo-add artiq.db.tar.gz *.pkg.tar.zst
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
cd $(dirname $0)
|
||||
MSYS2DIR=`pwd`/msys2
|
||||
mkdir -p $MSYS2DIR/var/lib/pacman $MSYS2DIR/msys/etc
|
||||
|
||||
curl -L https://mirror.msys2.org/msys/x86_64/pacman-mirrors-20220205-1-any.pkg.tar.zst | tar xvf - -C $MSYS2DIR --zstd
|
||||
curl -L https://raw.githubusercontent.com/msys2/MSYS2-packages/master/pacman/pacman.conf | grep -v SigLevel | sed s\|/etc/pacman.d\|$MSYS2DIR/etc/pacman.d\|g > $MSYS2DIR/etc/pacman.conf
|
||||
|
||||
fakeroot pacman --root $MSYS2DIR --config $MSYS2DIR/etc/pacman.conf -Syy
|
||||
pacman --root $MSYS2DIR --config $MSYS2DIR/etc/pacman.conf --cachedir $MSYS2DIR/msys/cache -Sp mingw-w64-x86_64-cc mingw-w64-x86_64-python3.10 mingw-w64-x86_64-python-numpy mingw-w64-x86_64-python-setuptools > $MSYS2DIR/packages.txt
|
||||
|
||||
echo "{ pkgs } : [" > msys2_packages.nix
|
||||
while read package; do
|
||||
hash=$(nix-prefetch-url $package)
|
||||
echo "
|
||||
(pkgs.fetchurl {
|
||||
url = \"$package\";
|
||||
sha256 = \"$hash\";
|
||||
})" >> msys2_packages.nix
|
||||
done < $MSYS2DIR/packages.txt
|
||||
echo "]" >> msys2_packages.nix
|
|
@ -0,0 +1,2 @@
|
|||
PKGEXT='.pkg.tar.zst'
|
||||
SRCEXT='.src.tar.gz'
|
|
@ -0,0 +1,197 @@
|
|||
{ pkgs } : [
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libiconv-1.17-1-any.pkg.tar.zst";
|
||||
sha256 = "1pb1x5wrlmmpjdpzsc7rs5xk6ydlsd5mval0fwrqq54jf6dxdzpz";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-zlib-1.2.13-1-any.pkg.tar.zst";
|
||||
sha256 = "0csqhgrsbig312abizx6ywr3xkvjzn2z4lhhfm11nxmvajyzcnpy";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-binutils-2.39-2-any.pkg.tar.zst";
|
||||
sha256 = "15swxdp3zwqs9wvbqrc0fmchd1797qd81r7ipq3sqrrmf4bmq50g";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-headers-git-10.0.0.r113.g57fd0b77a-1-any.pkg.tar.zst";
|
||||
sha256 = "0jpbp8lr2w5ri1cbws5gpa15683migava2alqzn7j116l1nxsfpl";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-crt-git-10.0.0.r113.g57fd0b77a-1-any.pkg.tar.zst";
|
||||
sha256 = "102671kigbp3rdnwx7fsjgjvhxfgm67r2y98zpkr8qwv8pysqxc1";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gmp-6.2.1-3-any.pkg.tar.zst";
|
||||
sha256 = "170640c8j81gl67kp85kr8kmg5axsl1vqwn9g7cx6vcr638qax9c";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-isl-0.25-1-any.pkg.tar.zst";
|
||||
sha256 = "0hky9gmd6iz1s3irmp9fk2j10cpqrrw8l810riwr58ynj3i10j2k";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-mpfr-4.1.0.p13-1-any.pkg.tar.zst";
|
||||
sha256 = "17klcf17mddd7hsrak920zglqh00drqjdh6dxh3v3c4y62xj1qr6";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-mpc-1.2.1-1-any.pkg.tar.zst";
|
||||
sha256 = "0761i6aga4982v6mw1hgqrrqznki0c8v93xkpf5fqmsjysfncscc";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libwinpthread-git-10.0.0.r113.g57fd0b77a-1-any.pkg.tar.zst";
|
||||
sha256 = "139iq1g7y8si0wwsr8rnlah5rcp0fkww8vyg5r07l2345hajgxys";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libs-12.2.0-4-any.pkg.tar.zst";
|
||||
sha256 = "0qpnp2jypk5fgl6p3n22ayjx0in0q69s35b5qvpiqcik2c5q81gy";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-windows-default-manifest-6.4-4-any.pkg.tar.zst";
|
||||
sha256 = "1ylipf8k9j7bgmwndkib2l29mds394i7jcij7a6ciag4kynlhsvi";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-winpthreads-git-10.0.0.r113.g57fd0b77a-1-any.pkg.tar.zst";
|
||||
sha256 = "06a0d3g8w4m9jnv36w0vjwrw8m0l12axiz2a49g14izykvv9md8b";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-zstd-1.5.2-2-any.pkg.tar.zst";
|
||||
sha256 = "1f14wbc1yvjgv3rbwhv75391l55gcm0as6ipba20vw8phz4ax8ds";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-12.2.0-4-any.pkg.tar.zst";
|
||||
sha256 = "0zxg7mhyl6cvs1zvj0i78sjn3j887nw22w0phllb558jyap8j5fh";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-expat-2.4.9-1-any.pkg.tar.zst";
|
||||
sha256 = "1a1q03k4w1a0q12bi07l8bdjad3g4dqzag476l6qf35cgp5mwwj3";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-bzip2-1.0.8-2-any.pkg.tar.zst";
|
||||
sha256 = "1kqg3aw439cdyhnf02rlfr1pw1n8v9xxvq2alhn7aw6nd8qhw7z5";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libffi-3.4.3-1-any.pkg.tar.zst";
|
||||
sha256 = "05vh8p9saycj5i6sqbskv3l2l5fybq3j7nnaz1kfrnrklsgv1xaq";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-mpdecimal-2.5.1-1-any.pkg.tar.zst";
|
||||
sha256 = "0cpyacmciyzbsar1aka5y592g2gpa4i6a58j3bjdmfjdnpm0j08a";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gettext-0.21-3-any.pkg.tar.zst";
|
||||
sha256 = "1gy7fmn6jc13ipnyyq44gyhv8rvz5cy7gz1dm3wrna80hjnzli5v";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libtre-git-r128.6fb7206-2-any.pkg.tar.xz";
|
||||
sha256 = "0dp3ca83j8jlx32gml2qvqpwp5b42q8r98gf6hyiki45d910wb7x";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libsystre-1.0.1-4-any.pkg.tar.xz";
|
||||
sha256 = "037gkzaaj8kp5nspcbc8ll64s9b3mj8d6m663lk1za94bq2axff1";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-ncurses-6.3-5-any.pkg.tar.zst";
|
||||
sha256 = "029z63bw9pwhamw1zi75fr112pxk934nh08by2l54lwdais0vjq8";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libtasn1-4.19.0-1-any.pkg.tar.zst";
|
||||
sha256 = "09bgm2y25jyjm0pwn2imnr30nxzdd7j71ifmxkpabaqkpsfa5av5";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-p11-kit-0.24.1-3-any.pkg.tar.zst";
|
||||
sha256 = "18ghwd6sy15hjp0si0ia85yvpv0fnawjdn8lxg3yyr93c6hdfssz";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-ca-certificates-20211016-3-any.pkg.tar.zst";
|
||||
sha256 = "02x6dnbbyjm6mcl6ii61bc5rkwg3qsbaqd2lyzsp5732hxjcmmq4";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-openssl-1.1.1.q-1-any.pkg.tar.zst";
|
||||
sha256 = "0rfb3z9jd0y6xjhv4qx1qqyyqgnzzlchbm07icpb4slgwjbm7cjg";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-termcap-1.3.1-6-any.pkg.tar.zst";
|
||||
sha256 = "1wgbzj53vmv1vm3igjan635j5ims4x19s2y6mgvvc46zgndc2bvq";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-readline-8.1.002-2-any.pkg.tar.zst";
|
||||
sha256 = "136fp0cymxqzgs4s8dmal1f4v6ns2mw8jn4cbfihxqb2cmf9yil8";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-tcl-8.6.12-1-any.pkg.tar.zst";
|
||||
sha256 = "0z66xic67k3j56jvvrwn8sym5yxylyza7ig686z5937nsd29kdw1";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-sqlite3-3.39.2-1-any.pkg.tar.zst";
|
||||
sha256 = "1rhq52cxafwgp73rhszwj2gcfdq20awrbjydg7a5zr6w8p0mvf2b";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-tk-8.6.12-1-any.pkg.tar.zst";
|
||||
sha256 = "1pnznf4a195ij3b1g921k0llkn62wf0piijldj2c7qlbcq73v66c";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-xz-5.2.7-1-any.pkg.tar.zst";
|
||||
sha256 = "1qpnp1wmwlgc4rv7xzvglad64z4spfjqfqimklpv96n2bwj0sdi2";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-tzdata-2022e-1-any.pkg.tar.zst";
|
||||
sha256 = "0b9qi29sc4ky9whri5rm0ks17shyy251g4ykrjkdwfwspfsifc3m";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-python-3.10.8-1-any.pkg.tar.zst";
|
||||
sha256 = "0c5fbr521lny98sxvn0xwshwb4kmmg33bmfhk1ygykyvvjm0jjfl";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libgfortran-12.2.0-4-any.pkg.tar.zst";
|
||||
sha256 = "1s61mkmhc6wqh2ary96xnjxv9k3bl2149g3xkb1qcxal6yssizzq";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-openblas-0.3.21-5-any.pkg.tar.zst";
|
||||
sha256 = "1mzsc1ffkxn5ima2fv4dwqfgrzdnz52bnwfavlmjyapw2l2xzqjl";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-python-numpy-1.23.4-1-any.pkg.tar.zst";
|
||||
sha256 = "1sbspwr0asxwmrwz5agmb4sjamy9ra84p2mvx4j6bwkg5vnwwasc";
|
||||
})
|
||||
|
||||
(pkgs.fetchurl {
|
||||
url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-python-setuptools-65.5.0-1-any.pkg.tar.zst";
|
||||
sha256 = "16vb5r4lai77ljrdlhh4vsrp1jxzasmwmmb3b8jvra2ay3kxd95n";
|
||||
})
|
||||
]
|
Loading…
Reference in New Issue