Flakeify
This commit is contained in:
		
							parent
							
								
									3a5e5d4870
								
							
						
					
					
						commit
						6ca24383f0
					
				
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@ -1,2 +1,3 @@
 | 
				
			|||||||
.idea
 | 
					.idea
 | 
				
			||||||
main
 | 
					bwbox
 | 
				
			||||||
 | 
					result
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										13
									
								
								bwbox.nimble
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								bwbox.nimble
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					# Package
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					version       = "1.0.0"
 | 
				
			||||||
 | 
					author        = "mawalu"
 | 
				
			||||||
 | 
					description   = "A DNS server for the ACME DNS-01 challenge"
 | 
				
			||||||
 | 
					license       = "MIT"
 | 
				
			||||||
 | 
					srcDir        = "."
 | 
				
			||||||
 | 
					bin           = @["bwbox"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Dependencies
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					requires "nim >= 1.6.0"
 | 
				
			||||||
							
								
								
									
										26
									
								
								flake.lock
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								flake.lock
									
									
									
										generated
									
									
									
										Normal file
									
								
							@ -0,0 +1,26 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "nodes": {
 | 
				
			||||||
 | 
					    "nixpkgs": {
 | 
				
			||||||
 | 
					      "locked": {
 | 
				
			||||||
 | 
					        "lastModified": 1649321570,
 | 
				
			||||||
 | 
					        "narHash": "sha256-j0SM2JzxKA3aGdH1QJUWqKW7lkHG1fuGLnPye4pBTBY=",
 | 
				
			||||||
 | 
					        "owner": "NixOS",
 | 
				
			||||||
 | 
					        "repo": "nixpkgs",
 | 
				
			||||||
 | 
					        "rev": "2c6bdafd36837e6422d18837ca1c77159be28a5a",
 | 
				
			||||||
 | 
					        "type": "github"
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "original": {
 | 
				
			||||||
 | 
					        "owner": "NixOS",
 | 
				
			||||||
 | 
					        "repo": "nixpkgs",
 | 
				
			||||||
 | 
					        "type": "github"
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "root": {
 | 
				
			||||||
 | 
					      "inputs": {
 | 
				
			||||||
 | 
					        "nixpkgs": "nixpkgs"
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "root": "root",
 | 
				
			||||||
 | 
					  "version": 7
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										16
									
								
								flake.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								flake.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,16 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  description = "An experimental sandbox tool for linux apps";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  inputs.nixpkgs.url = github:NixOS/nixpkgs;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  outputs = { self, nixpkgs }: {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    packages.x86_64-linux.default =
 | 
				
			||||||
 | 
					      with import nixpkgs { system = "x86_64-linux"; };
 | 
				
			||||||
 | 
					      nimPackages.buildNimPackage {
 | 
				
			||||||
 | 
					        name = "bwbox";
 | 
				
			||||||
 | 
					        src = self;
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user