Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 python3Packages,
4 fetchPypi,
5}:
6
7python3Packages.buildPythonApplication rec {
8 pname = "wllvm";
9 version = "1.3.1";
10 pyproject = true;
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-PgV6V18FyezIZpqMQEbyv98MaVM7h7T7/Kvg3yMMwzE=";
15 };
16
17 build-system = with python3Packages; [ setuptools ];
18
19 pythonImportsCheck = [ "wllvm.wllvm" ];
20
21 meta = with lib; {
22 homepage = "https://github.com/travitch/whole-program-llvm";
23 description = "Wrapper script to build whole-program LLVM bitcode files";
24 license = licenses.mit;
25 maintainers = with maintainers; [ mic92 ];
26 platforms = platforms.all;
27 };
28}