init
This commit is contained in:
commit
b6c0c12150
|
@ -0,0 +1,200 @@
|
|||
{
|
||||
"nodes": {
|
||||
"cadquery-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1702838737,
|
||||
"narHash": "sha256-Ng3Ehf9E5q3VQ6qf7P9lVnpsS1mWmTTV4nEnDKU6OVA=",
|
||||
"owner": "CadQuery",
|
||||
"repo": "cadquery",
|
||||
"rev": "245b6f39e597d324cbe8652b385a2130cdce545b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "CadQuery",
|
||||
"repo": "cadquery",
|
||||
"rev": "245b6f39e597d324cbe8652b385a2130cdce545b",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"cq": {
|
||||
"inputs": {
|
||||
"cadquery-src": "cadquery-src",
|
||||
"cq-editor-src": "cq-editor-src",
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"ocp-src": "ocp-src",
|
||||
"ocp-stubs-src": "ocp-stubs-src",
|
||||
"pybind11-stubgen-src": "pybind11-stubgen-src",
|
||||
"pywrap-src": "pywrap-src"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1703111559,
|
||||
"narHash": "sha256-nlpTdCXw+/EVWAOtnMuFz0pudsiY4mpofYPESAi8+oY=",
|
||||
"owner": "marcus7070",
|
||||
"repo": "cq-flake",
|
||||
"rev": "cdccdf10d5cb3cf286e65db294fe72f548d2832b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "marcus7070",
|
||||
"repo": "cq-flake",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"cq-editor-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1701895648,
|
||||
"narHash": "sha256-mHXEaA6vphps6F0WemdB6fGRY4lzpcxLU7WuYEp8c20=",
|
||||
"owner": "CadQuery",
|
||||
"repo": "CQ-editor",
|
||||
"rev": "4ef178af06d24a53fee87d576f8cada14c0111a3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "CadQuery",
|
||||
"repo": "CQ-editor",
|
||||
"rev": "4ef178af06d24a53fee87d576f8cada14c0111a3",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1701680307,
|
||||
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1703013332,
|
||||
"narHash": "sha256-+tFNwMvlXLbJZXiMHqYq77z/RfmpfpiI3yjL6o/Zo9M=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1703200384,
|
||||
"narHash": "sha256-q5j06XOsy0qHOarsYPfZYJPWbTbc8sryRxianlEPJN0=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "0b3d618173114c64ab666f557504d6982665d328",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"ref": "nixos-23.11",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"ocp-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1701196143,
|
||||
"narHash": "sha256-PMkMYEVBHt0i7ahgqF8jLhHHp7IRS7hd+JyydovNJ4A=",
|
||||
"owner": "cadquery",
|
||||
"repo": "ocp",
|
||||
"rev": "4b98a5dc79fa900f7429975708f6a8c2e41cecd1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "cadquery",
|
||||
"repo": "ocp",
|
||||
"rev": "4b98a5dc79fa900f7429975708f6a8c2e41cecd1",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"ocp-stubs-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1672527176,
|
||||
"narHash": "sha256-m9Rg36GYlYfwEfF0PQJWEXf8TyM5HmjeuhJCODiurvY=",
|
||||
"owner": "cadquery",
|
||||
"repo": "ocp-stubs",
|
||||
"rev": "e838ff400d5ee2f4a0579d2a713b19311855288f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "cadquery",
|
||||
"repo": "ocp-stubs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"pybind11-stubgen-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1700678104,
|
||||
"narHash": "sha256-76u1GcHPPh8oYQeQZDJ4K/so0U7F6rznZ1xa6syqI9s=",
|
||||
"owner": "CadQuery",
|
||||
"repo": "pybind11-stubgen",
|
||||
"rev": "6dc681d838d3ec9a8a9aa4260c8392d3fb700ff0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "CadQuery",
|
||||
"repo": "pybind11-stubgen",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"pywrap-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1676015766,
|
||||
"narHash": "sha256-QhAvJHV5tFq9bjKOzEpcudZNnmUmNVrJ+BLCZJhO31g=",
|
||||
"owner": "CadQuery",
|
||||
"repo": "pywrap",
|
||||
"rev": "f3bcde70fd66a2d884fa60a7a9d9f6aa7c3b6e16",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "CadQuery",
|
||||
"repo": "pywrap",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"cq": "cq",
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
inputs.nixpkgs.url = "nixpkgs/nixos-23.11";
|
||||
# nixpkgs `cadquery` requires Python 3.7, which no longer exists in nixpkgs
|
||||
# `cq-flake` provides a more modern cadquery, compatible with Python 3.11
|
||||
inputs.cq.url = "github:marcus7070/cq-flake";
|
||||
outputs = { self, nixpkgs, cq }:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
in {
|
||||
devShells.x86_64-linux.default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
cq.packages.x86_64-linux.cadquery
|
||||
# (pkgs.python37.withPackages (ps: with ps; [ cadquery ]))
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue