package.nix (478B)
1 { 2 lib, 3 fetchFromGitHub, 4 rustPlatform, 5 }: 6 7 rustPlatform.buildRustPackage (finalAttrs: { 8 pname = "undercroft"; 9 version = "0.1.1"; 10 src = lib.cleanSourceWith { 11 filter = (path: type: 12 ! (builtins.any 13 (r: (builtins.match r (builtins.baseNameOf path)) != null) 14 [ 15 "private" 16 "target" 17 "certss" 18 ]) 19 ); 20 src = lib.cleanSource ./.; 21 }; 22 23 cargoHash = "sha256-3Z6ALXgAOXjwfewXex/dSDCQLWWPn0JxZVZPecp96YA="; 24 })